EdmEnumMember Constructor
Initializes a new instance of the EdmEnumMember class.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
declaringType As IEdmEnumType, _
name As String, _
value As IEdmPrimitiveValue _
)
'Usage
Dim declaringType As IEdmEnumType
Dim name As String
Dim value As IEdmPrimitiveValue
Dim instance As New EdmEnumMember(declaringType, _
name, value)
public EdmEnumMember(
IEdmEnumType declaringType,
string name,
IEdmPrimitiveValue value
)
public:
EdmEnumMember(
IEdmEnumType^ declaringType,
String^ name,
IEdmPrimitiveValue^ value
)
new :
declaringType:IEdmEnumType *
name:string *
value:IEdmPrimitiveValue -> EdmEnumMember
public function EdmEnumMember(
declaringType : IEdmEnumType,
name : String,
value : IEdmPrimitiveValue
)
Parameters
- declaringType
Type: Microsoft.Data.Edm.IEdmEnumType
The type that declares this member.
- name
Type: System.String
Name of this enumeration member.
- value
Type: Microsoft.Data.Edm.Values.IEdmPrimitiveValue
Value of this enumeration member.