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
copyFromFieldOptionMetadata- Object to copy state from.
 
Exceptions
- ArgumentNullException
 copyFromis 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
otherFieldOptionMetadata- Object 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
targetFieldOptionMetadata- Object to copy state into.
 
Exceptions
- ArgumentNullException
 targetis null.