Freigeben über


EdmCoreModel.GetPrimitive-Methode

Ruft einen Verweis auf einen primitiven Typ ab.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Function GetPrimitive ( _
    kind As EdmPrimitiveTypeKind, _
    isNullable As Boolean _
) As IEdmPrimitiveTypeReference
'Usage
Dim instance As EdmCoreModel
Dim kind As EdmPrimitiveTypeKind
Dim isNullable As Boolean
Dim returnValue As IEdmPrimitiveTypeReference

returnValue = instance.GetPrimitive(kind, _
    isNullable)
public IEdmPrimitiveTypeReference GetPrimitive(
    EdmPrimitiveTypeKind kind,
    bool isNullable
)
public:
IEdmPrimitiveTypeReference^ GetPrimitive(
    EdmPrimitiveTypeKind kind, 
    bool isNullable
)
member GetPrimitive : 
        kind:EdmPrimitiveTypeKind * 
        isNullable:bool -> IEdmPrimitiveTypeReference 
public function GetPrimitive(
    kind : EdmPrimitiveTypeKind, 
    isNullable : boolean
) : IEdmPrimitiveTypeReference

Parameter

  • isNullable
    Typ: System.Boolean
    true , um anzugeben, dass der referenzierte Typ NULL-Werte zulassen soll, andernfalls false.

Rückgabewert

Typ: Microsoft.Data.Edm.IEdmPrimitiveTypeReference
Ein primitiver Typverweis.

Siehe auch

Verweis

EdmCoreModel Klasse

Microsoft.Data.Edm.Library-Namespace