Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- expectedItemTypeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
The expected resource type for the items in the collection.
Return Value
Type: Microsoft.Data.OData.ODataCollectionReader
The created collection reader.