Table of Contents

Class FieldOptionSetupMetadata

Namespace
Dynamicweb.Content.Items.Metadata
Assembly
Dynamicweb.dll
Represents a field options setup metadata.
public class FieldOptionSetupMetadata : IComparable<FieldOptionSetupMetadata>
Inheritance
FieldOptionSetupMetadata
Implements
Inherited Members

Constructors

FieldOptionSetupMetadata()

Initializes a new instance of an object.
public FieldOptionSetupMetadata()

FieldOptionSetupMetadata(FieldOptionMetadataSource)

Initializes a new instance of an object with specific option source.
public FieldOptionSetupMetadata(FieldOptionMetadataSource source)

Parameters

source FieldOptionMetadataSource

FieldOptionSetupMetadata(FieldOptionSetupMetadata)

Initializes a new instance of an object.
public FieldOptionSetupMetadata(FieldOptionSetupMetadata copyFrom)

Parameters

copyFrom FieldOptionSetupMetadata
Object to copy state from.

Exceptions

ArgumentNullException
copyFrom is null.

Properties

Source

Returns current source of field options.
public FieldOptionMetadataSource Source { get; set; }

Property Value

FieldOptionMetadataSource

SourceType

Gets or sets the source type.
public FieldOptionSourceType SourceType { get; }

Property Value

FieldOptionSourceType

Values

Gets or sets the list of options.
public FieldOptionMetadataCollection Values { get; }

Property Value

FieldOptionMetadataCollection

Methods

CompareTo(FieldOptionSetupMetadata)

Compares the current object with the given one and returns the comparison result.
public int CompareTo(FieldOptionSetupMetadata other)

Parameters

other FieldOptionSetupMetadata
Object to compare with.

Returns

int
Comparison result.

CopyTo(FieldOptionSetupMetadata)

Copies the state of the current object into the given one.
public void CopyTo(FieldOptionSetupMetadata target)

Parameters

target FieldOptionSetupMetadata
Object to copy state into.

Exceptions

ArgumentNullException
target is null.

DeserializeFrom(XmlReader)

Deserializes options from xml.
public void DeserializeFrom(XmlReader reader)

Parameters

reader XmlReader

SerializeTo(XmlWriter)

Serializes options to xml.
public void SerializeTo(XmlWriter writer)

Parameters

writer XmlWriter
To top