SqlDataReader.GetName(Int32) Method

Definition

Gets the name of the specified column.

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

Parameters

i
Int32

The zero-based column ordinal.

Returns

String

The name of the specified column.

Implements

Applies to

See also