Dela via


OptionMetadata.Value Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property Nullable<int> Value {
    Nullable<int> get();
    void set(Nullable<int> value);
}
[<DataMemberAttribute>]
member Value : Nullable<int> with 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

© 2016 Microsoft. All rights reserved. Copyright