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 安全性

请参见

参考

IVsDataReaderDescriptor 接口

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