ResourceType.GetPrimitiveResourceType 方法
给定 Type 对象时,获取表示基元类型的资源类型。
命名空间: System.Data.Services.Providers
程序集: Microsoft.Data.Services(在 Microsoft.Data.Services.dll 中)
语法
声明
Public Shared Function GetPrimitiveResourceType ( _
type As Type _
) As ResourceType
用法
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
参数
- type
类型:System.Type
要从中获取基元类型的 Type 类型。
返回值
类型:System.Data.Services.Providers.ResourceType
资源类型。