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 override object this[int ordinal] { get; }

Parameters

ordinal
Int32

The ordinal of the field.

Property Value

The value that has the given field ordinal.

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Item[String]

Gets a value that has the given field name.

public override object this[string name] { get; }

Parameters

name
String

The name of the field.

Property Value

The field value.

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1