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 | 執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 (繼承自 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 Framework。