Class FieldOptionMetadataItemSource
- Namespace
- Dynamicweb.Content.Items.Metadata
- Assembly
- Dynamicweb.dll
[DataContract]
public class FieldOptionMetadataItemSource : FieldOptionMetadataSource, IComparable<FieldOptionMetadataSource>
- Inheritance
-
FieldOptionMetadataItemSource
- Implements
- Inherited Members
Constructors
FieldOptionMetadataItemSource()
public FieldOptionMetadataItemSource()
Properties
IncludeChildItems
[DataMember]
public bool IncludeChildItems { get; set; }
Property Value
IncludeParagraphItems
[DataMember]
public bool IncludeParagraphItems { get; set; }
Property Value
ItemSourceId
[DataMember]
public int ItemSourceId { get; set; }
Property Value
ItemSourceType
[DataMember]
public FieldOptionItemSourceType ItemSourceType { get; set; }
Property Value
ItemSystemName
[DataMember]
public string ItemSystemName { get; set; }
Property Value
NameField
[DataMember]
public string NameField { get; set; }
Property Value
SourceType
Type of source.
[DataMember]
public override FieldOptionSourceType SourceType { get; }
Property Value
ValueField
[DataMember]
public string ValueField { get; set; }
Property Value
Values
Collection of field options.
public override FieldOptionMetadataCollection Values { get; set; }
Property Value
Methods
ClearCache()
public override void ClearCache()
CompareTo(FieldOptionMetadataSource)
Compares the current object with the given one and returns the comparison result.
public override int CompareTo(FieldOptionMetadataSource other)
Parameters
other
FieldOptionMetadataSourceObject 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
FieldOptionMetadataSourceObject 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
XmlReaderXml Reader
GetSourceItems()
public IReadOnlyList<Item> GetSourceItems()
Returns
SerializeTo(XmlWriter)
Serializes a current instance of class to specific source.
public override void SerializeTo(XmlWriter writer)
Parameters
writer
XmlWriterXml Writer
Update()
Updates source collection
public override void Update()