ODataInputContext.CreateCollectionReaderAsync(IEdmTypeReference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.