Class FieldOptionMetadataStaticSource
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
public class FieldOptionMetadataStaticSource : FieldOptionMetadataSource, IComparable<FieldOptionMetadataSource>
- Inheritance
-
FieldOptionMetadataStaticSource
- Implements
- Inherited Members
Constructors
FieldOptionMetadataStaticSource()
public FieldOptionMetadataStaticSource()
FieldOptionMetadataStaticSource(FieldOptionMetadataCollection)
public FieldOptionMetadataStaticSource(FieldOptionMetadataCollection collection)
Parameters
collection
FieldOptionMetadataCollection
Properties
SourceType
Type of source.
public override FieldOptionSourceType SourceType { get; }
Property Value
Type
Type of source.
[Obsolete("Use SourceType instead")]
public override FieldOptionSourceType Type { get; }
Property Value
Values
Collection of field options.
public override sealed FieldOptionMetadataCollection Values { get; set; }
Property Value
Methods
CompareTo(FieldOptionMetadataSource)
Compares the current object with the given one and returns the comparison result.
public override int CompareTo(FieldOptionMetadataSource other)
Parameters
other
FieldOptionMetadataSource- Object to compare with.
Returns
- int
- Comparison result.
CopyTo(FieldOptionMetadataSource)
Copies the state of the current object into the given one.
public override void CopyTo(FieldOptionMetadataSource target)
Parameters
target
FieldOptionMetadataSource- Object to copy state into.
Exceptions
- ArgumentNullException
target
is null.
DeserializeFrom(XmlReader)
Deserializes a current instance of a class from specific source.
public override void DeserializeFrom(XmlReader reader)
Parameters
reader
XmlReader- Xml Reader
SerializeTo(XmlWriter)
Serializes a current instance of class to specific source.
public override void SerializeTo(XmlWriter writer)
Parameters
writer
XmlWriter- Xml Writer
Update()
Updates source collection
public override void Update()