共用方式為


ResourceType.GetCollectionResourceType 方法

命名空間:  System.Data.Services.Providers
組件:  Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)

語法

'宣告
Public Shared Function GetCollectionResourceType ( _
    itemType As ResourceType _
) As CollectionResourceType
'用途
Dim itemType As ResourceType
Dim returnValue As CollectionResourceType

returnValue = ResourceType.GetCollectionResourceType(itemType)
public static CollectionResourceType GetCollectionResourceType(
    ResourceType itemType
)
public:
static CollectionResourceType^ GetCollectionResourceType(
    ResourceType^ itemType
)
static member GetCollectionResourceType : 
        itemType:ResourceType -> CollectionResourceType 
public static function GetCollectionResourceType(
    itemType : ResourceType
) : CollectionResourceType

參數

傳回值

型別:System.Data.Services.Providers.CollectionResourceType

請參閱

參考

ResourceType 類別

System.Data.Services.Providers 命名空間