ResourceType.GetEntityCollectionResourceType 方法
取得 EntityCollectionResourceType,表示指定之 itemType 項目的集合。
命名空間: System.Data.Services.Providers
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Public Shared Function GetEntityCollectionResourceType ( _
itemType As ResourceType _
) As EntityCollectionResourceType
'用途
Dim itemType As ResourceType
Dim returnValue As EntityCollectionResourceType
returnValue = ResourceType.GetEntityCollectionResourceType(itemType)
public static EntityCollectionResourceType GetEntityCollectionResourceType(
ResourceType itemType
)
public:
static EntityCollectionResourceType^ GetEntityCollectionResourceType(
ResourceType^ itemType
)
static member GetEntityCollectionResourceType :
itemType:ResourceType -> EntityCollectionResourceType
public static function GetEntityCollectionResourceType(
itemType : ResourceType
) : EntityCollectionResourceType
參數
- itemType
型別:System.Data.Services.Providers.ResourceType
集合中單一項目的 ResourceType。
傳回值
型別:System.Data.Services.Providers.EntityCollectionResourceType
MultiValueResourceType 物件,此物件表示指定之 itemType 項目的集合。