Udostępnij za pośrednictwem


CRBMultiMap::GetNextWithKey

Call this method to get the element associated with a given key and update the position value.

const CPair* GetNextWithKey(
   POSITION& pos,
   KINARGTYPE key 
) const throw( );
CPair* GetNextWithKey(
   POSITION& pos,
   KINARGTYPE key 
) throw( );

Parameters

Return Value

Returns the next CRBTree::CPair Class element associated with the given key.

Remarks

The position value is updated to point to the next value associated with the key. If no more values exist, the position value is set to NULL.

See the documentation for the base class CRBTree for information on the other methods available.

Requirements

Header: atlcoll.h

See Also

Reference

CRBMultiMap Class

CRBMultiMap::FindFirstWithKey

CRBMultiMap::GetNextValueWithKey

Other Resources

CRBMultiMap Members