Compartir a través de


ODataMessageReader.CreateODataCollectionReader Método (IEdmTypeReference)

Crea un ODataCollectionReader para leer una colección de valores primitivos o complejos (como resultado de una invocación de operación de servicio).

Espacio de nombres:  Microsoft.Data.OData
Ensamblado:  Microsoft.Data.OData (en Microsoft.Data.OData.dll)

Sintaxis

'Declaración
Public Function CreateODataCollectionReader ( _
    expectedItemTypeReference As IEdmTypeReference _
) As ODataCollectionReader
'Uso
Dim instance As ODataMessageReader
Dim expectedItemTypeReference As IEdmTypeReference
Dim returnValue As ODataCollectionReader

returnValue = instance.CreateODataCollectionReader(expectedItemTypeReference)
public ODataCollectionReader CreateODataCollectionReader(
    IEdmTypeReference expectedItemTypeReference
)
public:
ODataCollectionReader^ CreateODataCollectionReader(
    IEdmTypeReference^ expectedItemTypeReference
)
member CreateODataCollectionReader : 
        expectedItemTypeReference:IEdmTypeReference -> ODataCollectionReader 
public function CreateODataCollectionReader(
    expectedItemTypeReference : IEdmTypeReference
) : ODataCollectionReader

Parámetros

Valor devuelto

Tipo: Microsoft.Data.OData.ODataCollectionReader
Lector de colección creado.

Vea también

Referencia

ODataMessageReader Clase

Sobrecarga de CreateODataCollectionReader

Espacio de nombres Microsoft.Data.OData