Call this member function to remove all the elements from this list and free the associated memory. No error is generated if the list is already empty.
void RemoveAll( );
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CList Overview, CList Member Functions, List Classes, CList::RemoveAt