Bagikan melalui


CAtlList::RemoveAll

Call this method to remove all of the elements from the list.

void RemoveAll( ) throw( );

Remarks

This method removes all of the elements from the list and frees the allocated memory. In debugs builds, an ATLASSERT will be raised if all elements aren't deleted or if the list structure has become corrupted.

Example

See the example for CAtlList::IsEmpty.

Requirements

Header: atlcoll.h

See Also

Reference

CAtlList Class

CAtlList::RemoveAt