ListView::ColumnHeaderCollection Methods

 

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

NameDescription
System_CAPS_pubmethodAdd(ColumnHeader^)

Adds an existing ColumnHeader to the collection.

System_CAPS_pubmethodAdd(String^)

Creates and adds a column with the specified text to the collection.

System_CAPS_pubmethodAdd(String^, Int32)

Creates and adds a column with the specified text and width to the collection.

System_CAPS_pubmethodAdd(String^, Int32, HorizontalAlignment)

Adds a column header to the collection with specified text, width, and alignment settings.

System_CAPS_pubmethodAdd(String^, String^)

Creates and adds a column with the specified text and key to the collection.

System_CAPS_pubmethodAdd(String^, String^, Int32)

Creates and adds a column with the specified text, key, and width to the collection.

System_CAPS_pubmethodAdd(String^, String^, Int32, HorizontalAlignment, Int32)

Creates and adds a column with the specified key, aligned text, width, and image index to the collection.

System_CAPS_pubmethodAdd(String^, String^, Int32, HorizontalAlignment, String^)

Creates and adds a column with the specified key, aligned text, width, and image key to the collection.

System_CAPS_pubmethodAddRange(array<ColumnHeader^>^)

Adds an array of column headers to the collection.

System_CAPS_pubmethodClear()

Removes all column headers from the collection.

System_CAPS_pubmethodContains(ColumnHeader^)

Determines whether the specified column header is located in the collection.

System_CAPS_pubmethodContainsKey(String^)

Determines if a column with the specified key is contained in the collection.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator to use to iterate through the column header collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(ColumnHeader^)

Returns the index, within the collection, of the specified column header.

System_CAPS_pubmethodIndexOfKey(String^)

Determines the index for a column with the specified key.

System_CAPS_pubmethodInsert(Int32, ColumnHeader^)

Inserts an existing column header into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^)

Creates a new column header with the specified text, and inserts the header into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^, Int32)

Creates a new column header with the specified text and initial width, and inserts the header into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^, Int32, HorizontalAlignment)

Creates a new column header and inserts it into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^, String^)

Creates a new column header with the specified text and key, and inserts the header into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^, String^, Int32)

Creates a new column header with the specified text, key, and width, and inserts the header into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^, String^, Int32, HorizontalAlignment, Int32)

Creates a new column header with the specified aligned text, key, width, and image index, and inserts the header into the collection at the specified index.

System_CAPS_pubmethodInsert(Int32, String^, String^, Int32, HorizontalAlignment, String^)

Creates a new column header with the specified aligned text, key, width, and image key, and inserts the header into the collection at the specified index.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemove(ColumnHeader^)

Removes the specified column header from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the column header at the specified index within the collection.

System_CAPS_pubmethodRemoveByKey(String^)

Removes the column with the specified key from the collection.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection::CopyTo(Array^, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Copies the ColumnHeader objects in the ListView::ColumnHeaderCollection to an array, starting at a particular array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Add(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds a ColumnHeader to the ListView.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Contains(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the specified column header is located in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::IndexOf(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the index, within the collection, of the specified column header.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Insert(Int32, Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. Inserts an existing column header into the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Remove(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified column header from the collection.

Return to top
Show: