ResourceType.GetEntityCollectionResourceType Method
Gets a EntityCollectionResourceType representing a collection of the specified itemType items.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function GetEntityCollectionResourceType ( _
itemType As ResourceType _
) As EntityCollectionResourceType
'Usage
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
Parameters
- itemType
Type: System.Data.Services.Providers.ResourceType
The ResourceType of a single item in the collection.
Return Value
Type: System.Data.Services.Providers.EntityCollectionResourceType
A MultiValueResourceType object representing a collection of the specified itemType items.