Redigera

Dela via


DbDataReader.GetName(Int32) Method

Definition

When overridden in a derived class, gets the name of the column, given the zero-based column ordinal.

public:
 abstract System::String ^ GetName(int ordinal);
public abstract string GetName (int ordinal);
abstract member GetName : int -> string
Public MustOverride Function GetName (ordinal As Integer) As String

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

The name of the specified column.

Implements

Applies to

See also