| Public Member Functions | |
| Remove ([in] VARIANT Index) | |
| Call this method to remove one item from the collection. | |
| Clear () | |
| Removes all of the items from the collection. | |
| Add ([in] BSTR Text,[in, defaultvalue(100)] LONG Width,[in, defaultvalue(AL_LEFT)] LONG TextAlign,[out, retval] IDispatch **pItem) | |
| This method creates a new HeaderItem. | |
| Properties | |
| LPUNKNOWN R | _NewEnum  [] | 
| Returns the enumerator for the collection. | |
| VARIANT R | Item [[in] long Index]  [] | 
| Returns the specified item in the collection. | |
| long R | Count  [] | 
| Returns the number of items in the collection. | |
| VARIANT_BOOL RW | Visible  [] | 
| Sets the ListView's columns header show state. | |
| VARIANT_BOOL RW | Flat  [] | 
| Specifies that the header items appear with the flat style. | |
The ListViewColumns object is an collection of HeaderItem objects.
| Add | ( | [in] BSTR | Text, | |
| [in, defaultvalue(100)] LONG | Width, | |||
| [in, defaultvalue(AL_LEFT)] LONG | TextAlign, | |||
| [out, retval] IDispatch ** | pItem | |||
| ) | 
This method creates a new HeaderItem.
| Text | Specifies the title of the HeaderItem. | |
| Width | Specifies the width of the HeaderItem. | |
| TextAlign | Specifies the text align of the HeaderItem. | 
| pItem | HeaderItem object | 
| Clear | ( | ) | 
Removes all of the items from the collection.
| Remove | ( | [in] VARIANT | Index | ) | 
Call this method to remove one item from the collection.
| Index | The index of the element to remove or the element itself. | 
| LPUNKNOWN R _NewEnum | 
Returns the enumerator for the collection.
| long R Count | 
Returns the number of items in the collection.
| VARIANT_BOOL RW Flat | 
Specifies that the header items appear with the flat style.
| VARIANT R Item[[in] long Index] | ( | ) | 
Returns the specified item in the collection.
| VARIANT_BOOL RW Visible | 
Sets the ListView's columns header show state.