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

Return Value

Type: Microsoft.Data.Edm.IEdmPrimitiveType
A definition of a primitive type.

See Also

Reference

EdmCoreModel Class

Microsoft.Data.Edm.Library Namespace