DataReader.GetItemName(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the name assigned to the data item at the specified index, if any.
public:
virtual System::String ^ GetItemName(int index);
public virtual string GetItemName (int index);
abstract member GetItemName : int -> string
override this.GetItemName : int -> string
Public Overridable Function GetItemName (index As Integer) As String
Parameters
- index
- Int32
The index of the data item for which to retrieve the name.
Returns
The name assigned to the data item at the index specified by the index
parameter, or null if no name exists.