Share via


ODataReader Class

Represents the base class for OData readers.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataReader

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public MustInherit Class ODataReader
'Usage
Dim instance As ODataReader
public abstract class ODataReader
public ref class ODataReader abstract
[<AbstractClassAttribute>]
type ODataReader =  class end
public abstract class ODataReader

The ODataReader type exposes the following members.

Constructors

  Name Description
Protected method ODataReader Initializes a new instance of the ODataReader class.

Top

Properties

  Name Description
Public property Item Gets the most recent ODataItem that has been read.
Public property State Gets the current state of the reader.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Read Reads the next ODataItem from the message payload.
Public method ReadAsync Asynchronously reads the next ODataItem from the message payload.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData Namespace