Dela via


OptionMetadata.Value Property

 

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

Gets or sets the value of the option.

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

Syntax

[DataMemberAttribute]
public Nullable<int> Value { get; set; }
<DataMemberAttribute>
Public Property Value As Nullable(Of Integer)

Property Value

Type: System.Nullable<Int32>

Type: Nullable<Int32>
The value of the option.

Remarks

It is recommended that you do not set the value. Leave it null when you create the option and allow the system to generate a unique value.

See Also

OptionMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Merge option set options

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright