Delen via


ODataInputContext.CreateCollectionReaderAsync(IEdmTypeReference) Method

Definition

Asynchronously create a ODataCollectionReader.

public virtual System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader> CreateCollectionReaderAsync (Microsoft.OData.Edm.IEdmTypeReference expectedItemTypeReference);
abstract member CreateCollectionReaderAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader>
override this.CreateCollectionReaderAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader>
Public Overridable Function CreateCollectionReaderAsync (expectedItemTypeReference As IEdmTypeReference) As Task(Of ODataCollectionReader)

Parameters

expectedItemTypeReference
IEdmTypeReference

The expected type reference for the items in the collection.

Returns

Task which when completed returns the newly created ODataCollectionReader.

Applies to