ColumnHeaders Property (ListView Control)

       

Returns a reference to a collection of ColumnHeader objects.

Syntax

object.ColumnHeaders

The object placeholder represents an object expression that evaluates to a ListView control.

Remarks

You can manipulate ColumnHeader objects using standard collection methods (for example, the Remove method). Each ColumnHeader in the collection can be accessed either by its index or by a unique key, stored in the Key property.