This documentation is archived and is not being maintained.

ListView.ColumnHeaderCollection.Add Method

Adds a column header to the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Add(String) Creates and adds a column with the specified text to the collection.
Public method Supported by the .NET Compact Framework Add(ColumnHeader) Adds an existing ColumnHeader to the collection.
Public method Add(String, Int32) Creates and adds a column with the specified text and width to the collection.
Public method Add(String, String) Creates and adds a column with the specified text and key to the collection.
Public method Supported by the .NET Compact Framework Add(String, Int32, HorizontalAlignment) Adds a column header to the collection with specified text, width, and alignment settings.
Public method Add(String, String, Int32) Creates and adds a column with the specified text, key, and width to the collection.
Public method Add(String, String, Int32, HorizontalAlignment, Int32) Creates and adds a column with the specified key, aligned text, width, and image index to the collection.
Public method Add(String, String, Int32, HorizontalAlignment, String) Creates and adds a column with the specified key, aligned text, width, and image key to the collection.
Top
Show: