OleDbDataReader.Item[String] OleDbDataReader.Item[String] OleDbDataReader.Item[String] OleDbDataReader.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the value of the specified column in its native format given the column ordinal.

Item[String] Item[String] Item[String] Item[String]

Gets the value of the specified column in its native format given the column name.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets the value of the specified column in its native format given the column ordinal.

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

Parameters

index
Int32 Int32 Int32 Int32

The column ordinal.

Property Value

The value of the specified column in its native format.

Exceptions

See also

Item[String] Item[String] Item[String] Item[String]

Gets the value of the specified column in its native format given the column name.

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 String String String

The column name.

Property Value

The value of the specified column in its native format.

Exceptions

Remarks

A case-sensitive lookup is performed first. If it fails, a second case-insensitive search is made.

This method is kana-width insensitive.

See also

Applies to