Compartir a través de


OptionMetadata Constructors

Definition

Overloads

OptionMetadata()

Initializes a new instance of the OptionMetadata class

OptionMetadata(Int32)

Initializes a new instance of the OptionMetadata class

OptionMetadata(Label, Nullable<Int32>)

Initializes a new instance of the OptionMetadata class

OptionMetadata(Int32, IEnumerable<Int32>)
OptionMetadata(Label, Nullable<Int32>, IEnumerable<Int32>)

OptionMetadata()

Initializes a new instance of the OptionMetadata class

public:
 OptionMetadata();
public OptionMetadata ();
Public Sub New ()

Applies to

OptionMetadata(Int32)

Initializes a new instance of the OptionMetadata class

public:
 OptionMetadata(int value);
public OptionMetadata (int value);
new Microsoft.Xrm.Sdk.Metadata.OptionMetadata : int -> Microsoft.Xrm.Sdk.Metadata.OptionMetadata
Public Sub New (value As Integer)

Parameters

value
Int32

The value of the option.

Applies to

OptionMetadata(Label, Nullable<Int32>)

Initializes a new instance of the OptionMetadata class

public:
 OptionMetadata(Microsoft::Xrm::Sdk::Label ^ label, Nullable<int> value);
public OptionMetadata (Microsoft.Xrm.Sdk.Label label, int? value);
new Microsoft.Xrm.Sdk.Metadata.OptionMetadata : Microsoft.Xrm.Sdk.Label * Nullable<int> -> Microsoft.Xrm.Sdk.Metadata.OptionMetadata
Public Sub New (label As Label, value As Nullable(Of Integer))

Parameters

label
Label

The label containing the text for the option..

value
Nullable<Int32>

The value of the option.

Applies to

OptionMetadata(Int32, IEnumerable<Int32>)

public:
 OptionMetadata(int value, System::Collections::Generic::IEnumerable<int> ^ parentOptionValues);
public OptionMetadata (int value, System.Collections.Generic.IEnumerable<int> parentOptionValues);
new Microsoft.Xrm.Sdk.Metadata.OptionMetadata : int * seq<int> -> Microsoft.Xrm.Sdk.Metadata.OptionMetadata
Public Sub New (value As Integer, parentOptionValues As IEnumerable(Of Integer))

Parameters

value
Int32
parentOptionValues
IEnumerable<Int32>

Applies to

OptionMetadata(Label, Nullable<Int32>, IEnumerable<Int32>)

public:
 OptionMetadata(Microsoft::Xrm::Sdk::Label ^ label, Nullable<int> value, System::Collections::Generic::IEnumerable<int> ^ parentOptionValues);
public OptionMetadata (Microsoft.Xrm.Sdk.Label label, int? value, System.Collections.Generic.IEnumerable<int> parentOptionValues);
new Microsoft.Xrm.Sdk.Metadata.OptionMetadata : Microsoft.Xrm.Sdk.Label * Nullable<int> * seq<int> -> Microsoft.Xrm.Sdk.Metadata.OptionMetadata
Public Sub New (label As Label, value As Nullable(Of Integer), parentOptionValues As IEnumerable(Of Integer))

Parameters

label
Label
value
Nullable<Int32>
parentOptionValues
IEnumerable<Int32>

Applies to