Udostępnij za pośrednictwem


ODataCollectionReader Class

Represents the base class for OData collection readers.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataCollectionReader

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

Syntax

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

The ODataCollectionReader type exposes the following members.

Constructors

  Name Description
Protected method ODataCollectionReader Creates a new instance of the ODataCollectionReader class.

Top

Properties

  Name Description
Public property Item Gets the most recent item that has been read.
Public property State Gets or sets 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 item from the message payload.
Public method ReadAsync Asynchronously reads the next item 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