共用方式為


CRBTree::RemoveAt

Call this method to remove the element at the given position in the CRBTree object.

void RemoveAt( 
   POSITION pos  
) throw( );

Parameters

Remarks

Removes the key/value pair stored at the specified position. The memory used to store the element is freed. The POSITION referenced by pos becomes invalid, and while the POSITION of any other elements in the tree remains valid, they do not necessarily retain the same order.

Requirements

Header: atlcoll.h

See Also

Reference

CRBTree Class

CRBTree::RemoveAll