StatusOptionMetadata Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains one of the possible values for an attribute of type Status.
For the Web API the corresponding type is StatusOptionMetadata ComplexType.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.Metadata.MetadataBase
Microsoft.Xrm.Sdk.Metadata.OptionMetadata
Microsoft.Xrm.Sdk.Metadata.StatusOptionMetadata
Syntax
[MetadataNameAttribute(LogicalName = "StatusOptionMetadata",
LogicalCollectionName = "StatusOptionDefinitions")]
[DataContractAttribute(Name = "StatusOptionMetadata", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public sealed class StatusOptionMetadata : OptionMetadata
<MetadataNameAttribute(LogicalName := "StatusOptionMetadata",
LogicalCollectionName := "StatusOptionDefinitions")>
<DataContractAttribute(Name := "StatusOptionMetadata", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public NotInheritable Class StatusOptionMetadata
Inherits OptionMetadata
Constructors
Name | Description | |
---|---|---|
StatusOptionMetadata() | Initializes a new instance of the StatusOptionMetadata class. |
|
StatusOptionMetadata(Int32, Nullable<Int32>) | Initializes a new instance of the StatusOptionMetadata class. |
Properties
Name | Description | |
---|---|---|
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.) |
|
HasChanged | Gets whether the item of metadata has changed.(Inherited from MetadataBase.) |
|
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.) |
|
State | Gets or sets the state that this status is associated with. |
|
TransitionData | Gets or sets the status transitions allowed for this status. |
|
Value | Gets or sets the value of the option.(Inherited from OptionMetadata.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright