DbDataReader::Item Property (String^)
.NET Framework (current version)
Gets the value of the specified column as an instance of Object.
Assembly: System.Data (in System.Data.dll)
public: property Object^ default[ String^ name ] { virtual Object^ get(String^ name) abstract; }
Parameters
- name
-
Type:
System::String^
The name of the column.
Implements
IDataRecord::Item[String^]| Exception | Condition |
|---|---|
| IndexOutOfRangeException | No column with the specified name was found. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: