Share via


ODataReaderExtensions.ReadResourceOrResourceSetAsync(ODataReader) Method

Definition

Reads a ODataResource or ODataResourceSet object.

public static System.Threading.Tasks.Task<Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase> ReadResourceOrResourceSetAsync (this Microsoft.OData.ODataReader reader);
static member ReadResourceOrResourceSetAsync : Microsoft.OData.ODataReader -> System.Threading.Tasks.Task<Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase>
<Extension()>
Public Function ReadResourceOrResourceSetAsync (reader As ODataReader) As Task(Of ODataItemBase)

Parameters

reader
ODataReader

The OData reader to read from.

Returns

The read resource or resource set.

Applies to