ODataParameterReader.CreateResourceReader 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.
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.