Compartilhar via


CRBTree::GetHeadPosition

Call this method to get the position value for the element at the head of the tree.

POSITION GetHeadPosition( ) const throw( );

Return Value

Returns the position value for the element at the head of the tree.

Remarks

The value returned by GetHeadPosition can be used with methods such as CRBTree::GetKeyAt or CRBTree::GetNext to traverse the tree and retrieve values.

Requirements

Header: atlcoll.h

See Also

Reference

CRBTree Class

CRBTree::GetTailPosition

Other Resources

CRBTree Members