StateOptionMetadata Class


Applies To: Dynamics CRM 2015

Contains data to define an option for the options in a State attribute.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy



[DataContractAttribute(Name = "StateOptionMetadata", Namespace = "")]
public sealed class StateOptionMetadata : OptionMetadata
[DataContractAttribute(Name = "StateOptionMetadata", Namespace = "")]
public ref class StateOptionMetadata sealed : OptionMetadata
[<DataContractAttribute(Name = "StateOptionMetadata", Namespace = "")>]
type StateOptionMetadata = 
        inherit OptionMetadata
<DataContractAttribute(Name := "StateOptionMetadata", Namespace := "")>
Public NotInheritable Class StateOptionMetadata
    Inherits OptionMetadata


Name Description
System_CAPS_pubmethod StateOptionMetadata()

Initializes a new instance of the StateOptionMetadata class


Name Description
System_CAPS_pubproperty DefaultStatus

Gets or sets the default status value associated with this state.

System_CAPS_pubproperty Description

Gets or sets the label containing the description for the option.(Inherited from OptionMetadata.)

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from MetadataBase.)

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.(Inherited from MetadataBase.)

System_CAPS_pubproperty InvariantName

Gets or sets the name of the state that does not change.

System_CAPS_pubproperty IsManaged

Gets whether the option is part of a managed solution.(Inherited from OptionMetadata.)

System_CAPS_pubproperty Label

Gets or sets the label containing the text for the option.(Inherited from OptionMetadata.)

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.)

System_CAPS_pubproperty Value

Gets or sets the value of the option.(Inherited from OptionMetadata.)


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity attribute metadata

Return to top

© 2016 Microsoft. All rights reserved. Copyright