IVsDataReaderDescriptor.GetItemName 方法
擷取這個名稱指派給資料項目都是透過資料讀取器的指定索引處的。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Function GetItemName ( _
index As Integer _
) As String
string GetItemName(
int index
)
String^ GetItemName(
int index
)
abstract GetItemName :
index:int -> string
function GetItemName(
index : int
) : String
參數
- index
型別:System.Int32
資料項目索引可以擷取名稱。
傳回值
型別:System.String
要指派給資料項目索引參數所指定的索引或名稱 nullNull 參照 (即 Visual Basic 中的 Nothing) ,如果不存在。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。