共用方式為


IVsDataReader.GetItem 方法 (Int32)

當由類別實作,以擷取項目的值會在目前的資料區塊的指定索引處的。

命名空間:  Microsoft.VisualStudio.Data.Services.SupportEntities
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Function GetItem ( _
    index As Integer _
) As Object
Object GetItem(
    int index
)
Object^ GetItem(
    int index
)
abstract GetItem : 
        index:int -> Object 
function GetItem(
    index : int
) : Object

參數

  • index
    型別:System.Int32
    在資源擷取整數值的資料項目目前區塊的索引。

傳回值

型別:System.Object
從指定之索引的整數值會在目前的資料區塊。

.NET Framework 安全性

請參閱

參考

IVsDataReader 介面

GetItem 多載

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