ListView.ColumnHeaderCollection.Item Property (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 virtual ColumnHeader this[
	string key
] { get; }


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