Delen via


ODataParameterReader.CreateResourceReader Method

Definition

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

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

Returns

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

Remarks

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