OptionSetType Enumeration

 

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

Indicates the type of option set.

For the Web API use the OptionSetType EnumType.

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

Syntax

[DataContractAttribute(Name = "OptionSetType", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum OptionSetType
<DataContractAttribute(Name := "OptionSetType", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration OptionSetType

Members

Member name Description
Boolean

The option set provides two options for a BooleanAttributeMetadata attribute. Value = 3.

Picklist

The option set provides a list of options. Value = 0.

State

The option set represents state options for a StateAttributeMetadata attribute. Value = 1.

Status

The option set represents status options for a StatusAttributeMetadata attribute. Value = 2.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright