Jaa


EdmTypeSemantics.AsCollection(IEdmTypeReference) Method

Definition

If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference.

public static Microsoft.OData.Edm.IEdmCollectionTypeReference AsCollection (this Microsoft.OData.Edm.IEdmTypeReference type);
static member AsCollection : Microsoft.OData.Edm.IEdmTypeReference -> Microsoft.OData.Edm.IEdmCollectionTypeReference
<Extension()>
Public Function AsCollection (type As IEdmTypeReference) As IEdmCollectionTypeReference

Parameters

type
IEdmTypeReference

Reference to the calling object.

Returns

A valid collection type reference if the definition of the reference is of a collection type. Otherwise a bad collection type reference.

Applies to