Share via


CRBTree::FindFirstKeyAfter

Call this method to find the position of the element that uses the next available key.

POSITION FindFirstKeyAfter( 
   KINARGTYPE key  
) const throw( );

Parameters

  • key
    A key value.

Return Value

Returns the position value of the element that uses the next available key. If there are no more elements, NULL is returned.

Remarks

This method makes it easy to traverse the tree without having to calculate position values beforehand.

Requirements

Header: atlcoll.h

See Also

Reference

CRBTree Class