Item Property (Int32)
Collapse the table of content
Expand the table of content

IDataRecord.Item Property (Int32)


Gets the column located at the specified index.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

object this[
	int i
] { get; }


Type: System.Int32

The zero-based index of the column to get.

Property Value

Type: System.Object

The column located at the specified index as an Object.

Exception Condition

The index passed was outside the range of 0 through FieldCount.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft