SqlDataReader.GetName(Int32) Method

Definition

Gets the name of the specified column.

public:
 virtual System::String ^ GetName(int i);
public string GetName (int i);
abstract member GetName : int -> string
override this.GetName : int -> string
Public Function GetName (i As Integer) As String

Parameters

i
Int32

The zero-based column ordinal.

Returns

The name of the specified column.

Implements

Applies to

See also