DbDataRecord.Item[] Property

Definition

Indicates that value from a column in its native format. This property is read-only.

Overloads

Item[Int32]

Indicates the value at the specified column in its native format given the column ordinal. This property is read-only.

Item[String]

Indicates the value at the specified column in its native format given the column name. This property is read-only.

Item[Int32]

Indicates the value at the specified column in its native format given the column ordinal. This property is read-only.

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

Parameters

i
Int32

The column ordinal.

Property Value

Object

The value at the specified column in its native format.

Implements

See also

Applies to

Item[String]

Indicates the value at the specified column in its native format given the column name. This property is read-only.

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

Parameters

name
String

The column name.

Property Value

Object

The value at the specified column in its native format.

Implements

See also

Applies to