DataReader.GetItemName Method
Retrieves the name assigned to the data item at the specified index, if any.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'宣言
Public Overridable Function GetItemName ( _
index As Integer _
) As String
'使用
Dim instance As DataReader
Dim index As Integer
Dim returnValue As String
returnValue = instance.GetItemName(index)
public virtual string GetItemName(
int index
)
public:
virtual String^ GetItemName(
int index
)
public function GetItemName(
index : int
) : String
Parameters
index
Type: System.Int32The 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.
Implements
IVsDataReaderDescriptor.GetItemName(Int32)
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.