ExtensionMethods.TypeKind Method
Gets the type kind of the specified type.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function TypeKind ( _
type As IEdmTypeReference _
) As EdmTypeKind
'Usage
Dim type As IEdmTypeReference
Dim returnValue As EdmTypeKind
returnValue = type.TypeKind()
public static EdmTypeKind TypeKind(
this IEdmTypeReference type
)
[ExtensionAttribute]
public:
static EdmTypeKind TypeKind(
IEdmTypeReference^ type
)
static member TypeKind :
type:IEdmTypeReference -> EdmTypeKind
public static function TypeKind(
type : IEdmTypeReference
) : EdmTypeKind
Parameters
- type
Type: Microsoft.Data.Edm.IEdmTypeReference
The reference to a type.
Return Value
Type: Microsoft.Data.Edm.EdmTypeKind
The kind of the type.
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.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).