OptionMetadata Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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..
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
- parentOptionValues
- IEnumerable<Int32>