Table of Contents

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 FieldOptionMetadata

Object 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

name string

Option name.

value object

Option value.

FieldOptionMetadata(string, object, string)

Initializes a new instance of an object.

public FieldOptionMetadata(string name, object value, string icon)

Parameters

name string

Option name.

value object

Option value.

icon string

Option icon.

Properties

Icon

Gets or sets the option icon.

public string Icon { get; set; }

Property Value

string

Name

Gets or sets the option name (label).

public string Name { get; set; }

Property Value

string

Value

Gets or sets the option value.

public object Value { get; set; }

Property Value

object

Methods

CompareTo(FieldOptionMetadata)

Compares the current object with the given one and returns the comparison result.

public int CompareTo(FieldOptionMetadata other)

Parameters

other FieldOptionMetadata

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

target FieldOptionMetadata

Object to copy state into.

Exceptions

ArgumentNullException

target is null.

To top