IDataRecord.Item Property (String)
Gets the column with the specified name.
Assembly: System.Data (in System.Data.dll)
Parameters
- name
-
Type:
System.String
The name of the column to find.
Exception | Condition |
---|---|
IndexOutOfRangeException | No column with the specified name was found. |
A case-sensitive lookup is performed first. If it fails, a second case-insensitive search is made.
This method is kana-width insensitive.
.NET Framework
Available since 1.1
Available since 1.1