StateOptionMetadata Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

For the Web API the corresponding type is StateOptionMetadata ComplexType.

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

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.Metadata.OptionMetadata
      Microsoft.Xrm.Sdk.Metadata.StateOptionMetadata

[MetadataNameAttribute(LogicalName = "StateOptionMetadata", LogicalCollectionName = "StateOptionDefinitions")]
[DataContractAttribute(Name = "StateOptionMetadata", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public sealed class StateOptionMetadata : OptionMetadata

NameDescription
System_CAPS_pubmethodStateOptionMetadata()

Initializes a new instance of theStateOptionMetadata class

NameDescription
System_CAPS_pubpropertyColor

Gets or sets the hexadecimal value set to assign a color for the option.(Inherited from OptionMetadata.)

System_CAPS_pubpropertyDefaultStatus

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

System_CAPS_pubpropertyDescription

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

System_CAPS_pubpropertyExtensionData

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

System_CAPS_pubpropertyHasChanged

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

System_CAPS_pubpropertyInvariantName

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

System_CAPS_pubpropertyIsManaged

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

System_CAPS_pubpropertyLabel

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

System_CAPS_pubpropertyMetadataId

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

System_CAPS_pubpropertyValue

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: