Partilhar via


ODataMessageReader.CreateODataCollectionReader Method (IEdmTypeReference)

Creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function CreateODataCollectionReader ( _
    expectedItemTypeReference As IEdmTypeReference _
) As ODataCollectionReader
'Usage
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

Parameters

Return Value

Type: Microsoft.Data.OData.ODataCollectionReader
The created collection reader.

See Also

Reference

ODataMessageReader Class

CreateODataCollectionReader Overload

Microsoft.Data.OData Namespace