OptionMetadata OptionMetadata OptionMetadata OptionMetadata Class

Definition

Contains metadata representing an option within an Option set.

For the Web API the corresponding type is OptionMetadata ComplexType.

public ref class OptionMetadata : Microsoft::Xrm::Sdk::Metadata::MetadataBase
[Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="OptionDefinitions", LogicalName="OptionMetadata")]
[System.Runtime.Serialization.DataContract(Name="OptionMetadata", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.StateOptionMetadata))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.StatusOptionMetadata))]
public class OptionMetadata : Microsoft.Xrm.Sdk.Metadata.MetadataBase
type OptionMetadata = class
    inherit MetadataBase
Public Class OptionMetadata
Inherits MetadataBase
Inheritance
OptionMetadataOptionMetadataOptionMetadataOptionMetadata
Derived
Attributes

Constructors

OptionMetadata() OptionMetadata() OptionMetadata() OptionMetadata()

Initializes a new instance of the OptionMetadata class

OptionMetadata(Int32) OptionMetadata(Int32) OptionMetadata(Int32) OptionMetadata(Int32)

Initializes a new instance of the OptionMetadata class

OptionMetadata(Label, Nullable<Int32>) OptionMetadata(Label, Nullable<Int32>) OptionMetadata(Label, Nullable<Int32>) OptionMetadata(Label, Nullable<Int32>)

Initializes a new instance of the OptionMetadata class

Properties

Color Color Color Color

Gets or sets the hexadecimal value set to assign a color for the option.

Description Description Description Description

Gets or sets the label containing the description for the option.

ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from MetadataBase)
ExternalValue ExternalValue ExternalValue ExternalValue
HasChanged HasChanged HasChanged HasChanged

Gets whether the item of metadata has changed.

(Inherited from MetadataBase)
IsManaged IsManaged IsManaged IsManaged

Gets whether the option is part of a managed solution.

Label Label Label Label

Gets or sets the label containing the text for the option.

MetadataId MetadataId MetadataId MetadataId

Gets or sets a unique identifier for the metadata item.

(Inherited from MetadataBase)
Value Value Value Value

Gets or sets the value of the option.

Applies to