Item[string] Property
Syntax:
public Object this[string name] { get; }
Description:
Type: System.Object
Gets the value of the specified column in the current row as an instance of Object
Parameters:
ordinal
Type: System.String
Specifies the name of the column to return.
Exceptions:
Exception | Condition |
---|---|
InvalidOperationException | The RdmDataReader is closed or there is no current row. |
IndexOutOfRangeException | The specified name was not a valid column name |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbDataReader.Item[String]