Επεξεργασία

Κοινή χρήση μέσω


EntityDataReader.Item[] Property

Definition

Gets the value of a specified column as an instance of Object.

Overloads

Item[Int32]

Gets the value of the specified column as an instance of Object.

Item[String]

Gets the value of the specified column as an instance of Object.

Item[Int32]

Gets the value of the specified column as an instance of Object.

public:
 virtual property System::Object ^ default[int] { System::Object ^ get(int ordinal); };
public override object this[int ordinal] { get; }
member this.Item(int) : obj
Default Public Overrides ReadOnly Property Item(ordinal As Integer) As Object

Parameters

ordinal
Int32

The zero-based column ordinal.

Property Value

The value of the specified column.

Implements

Applies to

Item[String]

Gets the value of the specified column as an instance of Object.

public:
 virtual property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); };
public override object this[string name] { get; }
member this.Item(string) : obj
Default Public Overrides ReadOnly Property Item(name As String) As Object

Parameters

name
String

The name of the column.

Property Value

The value of the specified column.

Implements

Applies to