Condividi tramite


CAtlArray::RemoveAll

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

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

Reference

CAtlArray Class

CAtlArray::RemoveAt

CAtlArray::FreeExtra