Class FieldOptionMetadata
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
Represents a field option metadata.
public class FieldOptionMetadata : IComparable<FieldOptionMetadata>
- Inheritance
-
FieldOptionMetadata
- Implements
- Inherited Members
Constructors
FieldOptionMetadata()
Initializes a new instance of an object.
public FieldOptionMetadata()
FieldOptionMetadata(FieldOptionMetadata)
Initializes a new instance of an object.
public FieldOptionMetadata(FieldOptionMetadata copyFrom)
Parameters
copyFrom
FieldOptionMetadataObject to copy state from.
Exceptions
- ArgumentNullException
copyFrom
is null.
FieldOptionMetadata(string, object)
Initializes a new instance of an object.
public FieldOptionMetadata(string name, object value)
Parameters
FieldOptionMetadata(string, object, string)
Initializes a new instance of an object.
public FieldOptionMetadata(string name, object value, string icon)
Parameters
Properties
Icon
Gets or sets the option icon.
public string Icon { get; set; }
Property Value
Name
Gets or sets the option name (label).
public string Name { get; set; }
Property Value
Value
Gets or sets the option value.
public object Value { get; set; }
Property Value
Methods
CompareTo(FieldOptionMetadata)
Compares the current object with the given one and returns the comparison result.
public int CompareTo(FieldOptionMetadata other)
Parameters
other
FieldOptionMetadataObject to compare with.
Returns
- int
Comparison result.
CopyTo(FieldOptionMetadata)
Copies the state of the current object into the given one.
public void CopyTo(FieldOptionMetadata target)
Parameters
target
FieldOptionMetadataObject to copy state into.
Exceptions
- ArgumentNullException
target
is null.