EdmCoreModel.GetPrimitiveType Method
Gets a definition of a primitive type.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function GetPrimitiveType ( _
kind As EdmPrimitiveTypeKind _
) As IEdmPrimitiveType
'Usage
Dim instance As EdmCoreModel
Dim kind As EdmPrimitiveTypeKind
Dim returnValue As IEdmPrimitiveType
returnValue = instance.GetPrimitiveType(kind)
public IEdmPrimitiveType GetPrimitiveType(
EdmPrimitiveTypeKind kind
)
public:
IEdmPrimitiveType^ GetPrimitiveType(
EdmPrimitiveTypeKind kind
)
member GetPrimitiveType :
kind:EdmPrimitiveTypeKind -> IEdmPrimitiveType
public function GetPrimitiveType(
kind : EdmPrimitiveTypeKind
) : IEdmPrimitiveType
Parameters
- kind
Type: Microsoft.Data.Edm.EdmPrimitiveTypeKind
The kind of the primitive type.
Return Value
Type: Microsoft.Data.Edm.IEdmPrimitiveType
A definition of a primitive type.