ODataParameterReader.CreateCollectionReader Method ()
Creates an ODataCollectionReader to read the collection value when the state is ODataParameterReaderState.Collection.
Namespace: Microsoft.OData.Core
Assembly: Microsoft.OData.Core (in Microsoft.OData.Core.dll)
Syntax
public abstract ODataCollectionReader CreateCollectionReader()
public:
virtual ODataCollectionReader^ CreateCollectionReader() abstract
abstract CreateCollectionReader : unit -> ODataCollectionReader
Public MustOverride Function CreateCollectionReader As ODataCollectionReader
Return Value
Type: Microsoft.OData.Core.ODataCollectionReader
An ODataCollectionReader to read the collection value when the state is ODataParameterReaderState.Collection.
Remarks
When the state is ODataParameterReaderState.Collection, the Name property of the ODataParameterReader returns the name of the parameter and the Value property of the ODataParameterReader returns null. Calling this method in any other state will cause an ODataException to be thrown.
See Also
ODataParameterReader Class
Microsoft.OData.Core Namespace
Return to top