Share via


ODataParameterReader.CreateResourceSetReader Method

Definition

This method creates an ODataReader to read the resource set value when the state is ODataParameterReaderState.ResourceSet.

public abstract Microsoft.OData.ODataReader CreateResourceSetReader ();
abstract member CreateResourceSetReader : unit -> Microsoft.OData.ODataReader
Public MustOverride Function CreateResourceSetReader () As ODataReader

Returns

Returns an ODataReader to read the resource set value when the state is ODataParameterReaderState.ResourceSet.

Remarks

When the state is ODataParameterReaderState.ResourceSet, 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.

Applies to