IVsDataReader 接口

表示公开方法和属性读取的数据来自任何数据源的接口。

命名空间:  Microsoft.VisualStudio.Data.Services.SupportEntities
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
<DataClientObjectAttribute("29885742-32C5-46d3-A2A6-A28F4B6D746B")> _
Public Interface IVsDataReader _
    Inherits IDisposable
[DataClientObjectAttribute("29885742-32C5-46d3-A2A6-A28F4B6D746B")]
public interface IVsDataReader : IDisposable
[DataClientObjectAttribute(L"29885742-32C5-46d3-A2A6-A28F4B6D746B")]
public interface class IVsDataReader : IDisposable
[<DataClientObjectAttribute("29885742-32C5-46d3-A2A6-A28F4B6D746B")>]
type IVsDataReader =  
    interface
        interface IDisposable
    end
public interface IVsDataReader extends IDisposable

IVsDataReader 类型公开以下成员。

属性

  名称 说明
公共属性 Descriptor 当实现由选件类,获取描述来自数据源的数据的信息。
公共属性 IsClosed 当实现由选件类,获取指示的 Boolean 值所指定的读取器是否关闭。
公共属性 Status 当实现由选件类,获得数字状态代码返回的当前提供数据的方法的数据读取器。

页首

方法

  名称 说明
公共方法 Close 当实现由选件类,结束 IVsDataReader 实例。
公共方法 Dispose 执行与释放或重置非托管资源相关的应用程序定义的任务。 (继承自 IDisposable。)
公共方法 GetBytes(Int32, array<Byte[], Int32, Int32) 当实现由选件类,检索指定的字节数原始的二进制数据。
公共方法 GetBytes(String, array<Byte[], Int32, Int32) 当实现由选件类,检索指定的字节数原始的二进制数据。
公共方法 GetItem(Int32) 当实现由选件类,检索该项的值在当前的指定索引块数据。
公共方法 GetItem(String) 当实现由选件类,检索数据项的值具有指定名称的当前块数据。
公共方法 IsNullItem(Int32) 当实现由选件类,指示在指定的索引数据项是否未指定的,也就是说,nullnull 引用(在 Visual Basic 中为 Nothing)。
公共方法 IsNullItem(String) 当实现由选件类,指示给定的数据项的值是否未指定的,也就是说,nullnull 引用(在 Visual Basic 中为 Nothing)。
公共方法 NextResult 当实现由选件类,事先数据读取器设置的下一个结果,该读取器包含多个结果回调设置。
公共方法 Read 当实现由选件类,下的读取器块数据的事先,该读取器包含存在多个块数据。
公共方法 Terminate 当实现由选件类,立即停止数据读取器,而不需要返回所有数据或设置输出参数。

页首

备注

此接口具有一个基实现。DDEX结构。

请参见

参考

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间