StatusOptionMetadata Class

Definition

Contains one of the possible values for an attribute of type Status.

For the Web API the corresponding type is StatusOptionMetadata ComplexType.

public ref class StatusOptionMetadata sealed : Microsoft::Xrm::Sdk::Metadata::OptionMetadata
[Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="StatusOptionDefinitions", LogicalName="StatusOptionMetadata")]
[System.Runtime.Serialization.DataContract(Name="StatusOptionMetadata", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public sealed class StatusOptionMetadata : Microsoft.Xrm.Sdk.Metadata.OptionMetadata
[<Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="StatusOptionDefinitions", LogicalName="StatusOptionMetadata")>]
[<System.Runtime.Serialization.DataContract(Name="StatusOptionMetadata", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type StatusOptionMetadata = class
    inherit OptionMetadata
Public NotInheritable Class StatusOptionMetadata
Inherits OptionMetadata
Inheritance
StatusOptionMetadata
Attributes

Constructors

StatusOptionMetadata()

Initializes a new instance of the StatusOptionMetadata class.

StatusOptionMetadata(Int32, Nullable<Int32>)

Initializes a new instance of the StatusOptionMetadata class.

Properties

Color

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

(Inherited from OptionMetadata)
Description

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

(Inherited from OptionMetadata)
ExtensionData

Gets or sets the structure that contains extra data.

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

Gets whether the item of metadata has changed.

(Inherited from MetadataBase)
IsHidden (Inherited from OptionMetadata)
IsManaged

Gets whether the option is part of a managed solution.

(Inherited from OptionMetadata)
Label

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

(Inherited from OptionMetadata)
MetadataId

Gets or sets a unique identifier for the metadata item.

(Inherited from MetadataBase)
ParentValues (Inherited from OptionMetadata)
State

Gets or sets the state that this status is associated with.

Tag (Inherited from OptionMetadata)
TransitionData

Gets or sets the status transitions allowed for this status.

Value

Gets or sets the value of the option.

(Inherited from OptionMetadata)

Applies to