共用方式為


IVsDataReader.GetItem 方法 (String)

當由類別實作時,會擷取一個資料項目的值具有指定名稱的資料目前的區塊。

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

語法

'宣告
Function GetItem ( _
    name As String _
) As Object
Object GetItem(
    string name
)
Object^ GetItem(
    String^ name
)
abstract GetItem : 
        name:string -> Object
function GetItem(
    name : String
) : Object

參數

  • name
    類型:String

    資料項目的名稱在擷取目前的區塊。

傳回值

類型:Object
項目的字串值具有指定名稱的。

.NET Framework 安全性

請參閱

參考

IVsDataReader 介面

GetItem 多載

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