Partager via


CRBTree::GetKeyAt

Call this method to get the key from a given position in the tree.

const K& GetKeyAt(
   POSITION pos 
) const throw( );

Parameters

  • pos
    The position value.

Return Value

Returns the key stored at position pos in the tree.

Remarks

If pos is not a valid position value, results are unpredictable. In debug builds, an assertion failure will occur if pos is equal to NULL.

Requirements

Header: atlcoll.h

See Also

Reference

CRBTree Class

CRBTree::GetAt

CRBTree::SetValueAt

CRBTree::GetValueAt

Other Resources

CRBTree Members