Compartilhar via


ODataInputContext.CreateCollectionReaderAsync(IEdmTypeReference) Método

Definição

Crie de forma assíncrona um 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)

Parâmetros

expectedItemTypeReference
IEdmTypeReference

A referência de tipo esperada para os itens na coleção.

Retornos

Tarefa que, quando concluída, retorna o recém-criado ODataCollectionReader.

Aplica-se a