Freigeben über


ResourceType.GetPrimitiveResourceType-Methode

Ruft einen Ressourcentyp ab, der einen primitiven Typ darstellt, wenn ein Type-Objekt übergeben wird.

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

Parameter

  • type
    Typ: System.Type
    Der Type-Typ, von dem der primitive Typ abgerufen werden soll.

Rückgabewert

Typ: System.Data.Services.Providers.ResourceType
Der Ressourcentyp.

Siehe auch

Verweis

ResourceType Klasse

System.Data.Services.Providers-Namespace