Share via


ODataReaderExtensions.ReadResourceOrResourceSet(ODataReader) Method

Definition

Reads a ODataResource or ODataResourceSet object.

public static Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase ReadResourceOrResourceSet (this Microsoft.OData.ODataReader reader);
static member ReadResourceOrResourceSet : Microsoft.OData.ODataReader -> Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase
<Extension()>
Public Function ReadResourceOrResourceSet (reader As ODataReader) As ODataItemBase

Parameters

reader
ODataReader

The OData reader to read from.

Returns

The read resource or resource set.

Applies to