EdmTypeSemantics.PrimitiveKind Method
Returns the primitive kind of the definition of this reference.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function PrimitiveKind ( _
type As IEdmTypeReference _
) As EdmPrimitiveTypeKind
'Usage
Dim type As IEdmTypeReference
Dim returnValue As EdmPrimitiveTypeKind
returnValue = type.PrimitiveKind()
public static EdmPrimitiveTypeKind PrimitiveKind(
this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static EdmPrimitiveTypeKind PrimitiveKind(
IEdmTypeReference^ type
)
static member PrimitiveKind :
type:IEdmTypeReference -> EdmPrimitiveTypeKind
public static function PrimitiveKind(
type : IEdmTypeReference
) : EdmPrimitiveTypeKind
Parameters
- type
Type: Microsoft.Data.Edm.IEdmTypeReference
A reference to the calling object.
Return Value
Type: Microsoft.Data.Edm.EdmPrimitiveTypeKind
The primitive kind of the definition of this reference.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).