ExtensionMethods.PrimitiveDefinition Method
Gets the primitive type to which the type refers.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function PrimitiveDefinition ( _
type As IEdmPrimitiveTypeReference _
) As IEdmPrimitiveType
'Usage
Dim type As IEdmPrimitiveTypeReference
Dim returnValue As IEdmPrimitiveType
returnValue = type.PrimitiveDefinition()
public static IEdmPrimitiveType PrimitiveDefinition(
this IEdmPrimitiveTypeReference type
)
[ExtensionAttribute]
public:
static IEdmPrimitiveType^ PrimitiveDefinition(
IEdmPrimitiveTypeReference^ type
)
static member PrimitiveDefinition :
type:IEdmPrimitiveTypeReference -> IEdmPrimitiveType
public static function PrimitiveDefinition(
type : IEdmPrimitiveTypeReference
) : IEdmPrimitiveType
Parameters
- type
Type: Microsoft.Data.Edm.IEdmPrimitiveTypeReference
The reference to a primitive type.
Return Value
Type: Microsoft.Data.Edm.IEdmPrimitiveType
The definition of a primitive type.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmPrimitiveTypeReference. 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).