IDataRecord::Item Property (String^)


Gets the column with the specified name.

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

property Object^ default[
	String^ name
] {
	Object^ get(String^ name);


Type: System::String^

The name of the column to find.

Property Value

Type: System::Object^

The column with the specified name as an Object.

Exception Condition

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
Return to top