Edit

Share via


DbUpdatableDataRecord.Item[] Property

Definition

Gets a field value.

Overloads

Item[Int32]

Returns a value that has the given field ordinal.

Item[String]

Gets a value that has the given field name.

Item[Int32]

Returns a value that has the given field ordinal.

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 ordinal of the field.

Property Value

The value that has the given field ordinal.

Implements

Applies to

Item[String]

Gets a value that has the given field 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

The name of the field.

Property Value

The field value.

Implements

Applies to