CAtlArray::RemoveAll

 

Call this method to remove all elements from the array object.

Syntax

void RemoveAll( ) throw( );

Remarks

Removes all of the elements from the array object.

This method calls CAtlArray::SetCount to resize the array and subsequently frees any allocated memory.

Example

See the example for CAtlArray::IsEmpty.

Requirements

Header: atlcoll.h

See Also

CAtlArray Class
CAtlArray::RemoveAt
CAtlArray::FreeExtra