IVsDataReader Interface

Definition

Represents the interface that exposes methods and properties for reading data from any data source.

public interface class IVsDataReader : IDisposable
[Microsoft.VisualStudio.Data.Core.DataClientObject("29885742-32C5-46d3-A2A6-A28F4B6D746B")]
public interface IVsDataReader : IDisposable
[<Microsoft.VisualStudio.Data.Core.DataClientObject("29885742-32C5-46d3-A2A6-A28F4B6D746B")>]
type IVsDataReader = interface
    interface IDisposable
Public Interface IVsDataReader
Implements IDisposable
Derived
Attributes
Implements

Properties

Descriptor

When implemented by a class, gets information that describes the data from a data source.

IsClosed

When implemented by a class, gets a Boolean value that indicates whether the specified reader is closed.

Status

When implemented by a class, gets a numerical status code returned by the method currently providing data to the data reader.

Methods

Close()

When implemented by a class, closes the IVsDataReader instance.

GetBytes(Int32, Byte[], Int32, Int32)

When implemented by a class, retrieves a specified number of bytes of raw binary data.

GetBytes(String, Byte[], Int32, Int32)

When implemented by a class, retrieves a specified number of bytes of raw binary data.

GetItem(Int32)

When implemented by a class, retrieves the value of the item at the specified index in the current block of data.

GetItem(String)

When implemented by a class, retrieves the value of a data item with the specified name in the current block of data.

IsNullItem(Int32)

When implemented by a class, indicates whether the data item at the specified index is unspecified, that is, null.

IsNullItem(String)

When implemented by a class, indicates whether the value of the given data item is unspecified, that is, null.

NextResult()

When implemented by a class, advances the data reader to the next result set, in cases where the reader contains multiple result sets.

Read()

When implemented by a class, advances the reader to the next block of data, in cases where the reader contains more than one block of data.

Terminate()

When implemented by a class, terminates the data reader immediately, without necessarily returning all of the data or setting output parameters.

Applies to