This documentation is archived and is not being maintained.

IDataReader Properties

The IDataReader type exposes the following members.

Public property Depth Gets a value indicating the depth of nesting for the current row.
Public property FieldCount Gets the number of columns in the current row. (Inherited from IDataRecord.)
Public property IsClosed Gets a value indicating whether the data reader is closed.
Public property Item[Int32] Gets the column located at the specified index. (Inherited from IDataRecord.)
Public property Item[String] Gets the column with the specified name. (Inherited from IDataRecord.)
Public property RecordsAffected Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.