ListView::ColumnHeaderCollection Methods
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() | Add(ColumnHeader^) | Adds an existing ColumnHeader to the collection. |
![]() | Add(String^) | Creates and adds a column with the specified text to the collection. |
![]() | Add(String^, Int32) | Creates and adds a column with the specified text and width to the collection. |
![]() | Add(String^, Int32, HorizontalAlignment) | Adds a column header to the collection with specified text, width, and alignment settings. |
![]() | Add(String^, String^) | Creates and adds a column with the specified text and key to the collection. |
![]() | Add(String^, String^, Int32) | Creates and adds a column with the specified text, key, and width to the collection. |
![]() | Add(String^, String^, Int32, HorizontalAlignment, Int32) | Creates and adds a column with the specified key, aligned text, width, and image index to the collection. |
![]() | Add(String^, String^, Int32, HorizontalAlignment, String^) | Creates and adds a column with the specified key, aligned text, width, and image key to the collection. |
![]() | AddRange(array<ColumnHeader^>^) | Adds an array of column headers to the collection. |
![]() | Clear() | Removes all column headers from the collection. |
![]() | Contains(ColumnHeader^) | Determines whether the specified column header is located in the collection. |
![]() | ContainsKey(String^) | Determines if a column with the specified key is contained in the collection. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator to use to iterate through the column header collection. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(ColumnHeader^) | Returns the index, within the collection, of the specified column header. |
![]() | IndexOfKey(String^) | Determines the index for a column with the specified key. |
![]() | Insert(Int32, ColumnHeader^) | Inserts an existing column header into the collection at the specified index. |
![]() | Insert(Int32, String^) | Creates a new column header with the specified text, and inserts the header into the collection at the specified index. |
![]() | Insert(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. |
![]() | Insert(Int32, String^, Int32, HorizontalAlignment) | Creates a new column header and inserts it into the collection at the specified index. |
![]() | Insert(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. |
![]() | Insert(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. |
![]() | Insert(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. |
![]() | Insert(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. |
![]() | MemberwiseClone() | |
![]() | Remove(ColumnHeader^) | Removes the specified column header from the collection. |
![]() | RemoveAt(Int32) | Removes the column header at the specified index within the collection. |
![]() | RemoveByKey(String^) | Removes the column with the specified key from the collection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |
![]() ![]() | IList::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. |



