ListView::ColumnHeaderCollection::Clear Method ()

 

Removes all column headers from the collection.

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

public:
virtual void Clear()

Implements

IList::Clear()

When you remove column headers from the collection, all information about the deleted column headers is lost. To remove a single column header from the collection use the Remove or RemoveAt method.

.NET Framework
Available since 1.1
Return to top
Show: