DB2®DataReader.GetName Method

Gets the name of the specified column.

Namespace:
IBM.Data.DB2
Assembly:
IBM.Data.DB2 (in IBM.Data.DB2.dll)

Syntax


[Visual Basic]
Public Function GetName( _
   ByVal i As Integer _
) As String
[C#]
public string GetName(
   int i
);
[C++]
public: String* GetName(
   int i
);
[JScript]
public function GetName(
   i : int
) : String;

Parameters

i
The zero-based column ordinal.

Return value

A string that is the name of the specified column.