Condividi tramite


Costruttore EdmEnumMember

Inizializza una nuova istanza della classe EdmEnumMember.

Spazio dei nomi  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    declaringType As IEdmEnumType, _
    name As String, _
    value As IEdmPrimitiveValue _
)
'Utilizzo
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
)

Parametri

Vedere anche

Riferimento

EdmEnumMember Classe

Spazio dei nomi Microsoft.Data.Edm.Library