EdmCoreModel.GetCollection Method

Gets a reference to a collection type.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Shared Function GetCollection ( _
    elementType As IEdmTypeReference _
) As IEdmCollectionTypeReference
'Usage
Dim elementType As IEdmTypeReference 
Dim returnValue As IEdmCollectionTypeReference 

returnValue = EdmCoreModel.GetCollection(elementType)
public static IEdmCollectionTypeReference GetCollection(
    IEdmTypeReference elementType
)
public:
static IEdmCollectionTypeReference^ GetCollection(
    IEdmTypeReference^ elementType
)
static member GetCollection : 
        elementType:IEdmTypeReference -> IEdmCollectionTypeReference
public static function GetCollection(
    elementType : IEdmTypeReference
) : IEdmCollectionTypeReference

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmCollectionTypeReference
A collection type reference.

See Also

Reference

EdmCoreModel Class

Microsoft.Data.Edm.Library Namespace