EdmEnumValue Constructor (IEdmEnumTypeReference, IEdmPrimitiveValue)
Initializes a new instance of the EdmEnumValue class.
Namespace: Microsoft.Data.Edm.Library.Values
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
type As IEdmEnumTypeReference, _
value As IEdmPrimitiveValue _
)
'Usage
Dim type As IEdmEnumTypeReference
Dim value As IEdmPrimitiveValue
Dim instance As New EdmEnumValue(type, value)
public EdmEnumValue(
IEdmEnumTypeReference type,
IEdmPrimitiveValue value
)
public:
EdmEnumValue(
IEdmEnumTypeReference^ type,
IEdmPrimitiveValue^ value
)
new :
type:IEdmEnumTypeReference *
value:IEdmPrimitiveValue -> EdmEnumValue
public function EdmEnumValue(
type : IEdmEnumTypeReference,
value : IEdmPrimitiveValue
)
Parameters
- type
Type: Microsoft.Data.Edm.IEdmEnumTypeReference
A reference to the enumeration type that describes this value.
- value
Type: Microsoft.Data.Edm.Values.IEdmPrimitiveValue
The underlying type value.