IVsDataReaderDescriptor.GetItemName Method

Retrieves the name assigned to the data item at the specified index in this data reader.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function GetItemName ( _
    index As Integer _
) As String
'使用
Dim instance As IVsDataReaderDescriptor
Dim index As Integer
Dim returnValue As String

returnValue = instance.GetItemName(index)
string GetItemName(
    int index
)
String^ GetItemName(
    int index
)
function GetItemName(
    index : int
) : String

Parameters

  • index
    Type: System.Int32

    The index of the data item for which to retrieve the name.

Return Value

Type: System.String

The name assigned to the data item at the index specified by the index parameter, or a null reference (Nothing in Visual Basic) if no name exists.

Permissions

See Also

Reference

IVsDataReaderDescriptor Interface

IVsDataReaderDescriptor Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace