ResourceType.GetPrimitiveResourceType Method
Gets a resource type that represent a primitive type when given a Type object.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function GetPrimitiveResourceType ( _
type As Type _
) As ResourceType
'Usage
Dim type As Type
Dim returnValue As ResourceType
returnValue = ResourceType.GetPrimitiveResourceType(type)
public static ResourceType GetPrimitiveResourceType(
Type type
)
public:
static ResourceType^ GetPrimitiveResourceType(
Type^ type
)
static member GetPrimitiveResourceType :
type:Type -> ResourceType
public static function GetPrimitiveResourceType(
type : Type
) : ResourceType
Parameters
- type
Type: System.Type
The Type type from which to get the primitive type.
Return Value
Type: System.Data.Services.Providers.ResourceType
The resource type.