ODataParameterReader.CreateCollectionReader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an ODataCollectionReader to read the collection value when the state is ODataParameterReaderState.Collection.
public abstract Microsoft.OData.ODataCollectionReader CreateCollectionReader ();
abstract member CreateCollectionReader : unit -> Microsoft.OData.ODataCollectionReader
Public MustOverride Function CreateCollectionReader () As ODataCollectionReader
Returns
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.