ListView::ColumnHeaderCollection::Item Property (String^)

 

Gets the column header with the specified key from the collection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property ColumnHeader^ default[
	String^ key
] {
	virtual ColumnHeader^ get(String^ key);
}

Parameters

key
Type: System::String^

The name of the column header to retrieve from the collection.

Property Value

Type: System.Windows.Forms::ColumnHeader^

The ColumnHeader with the specified key.

The key comparison is not case-sensitive. If key is null or an empty string, Item returns null.

.NET Framework
Available since 2.0
Return to top
Show: