Share via


CAtlMap::GetStartPosition

 

Call this method to start a map iteration.

Syntax

POSITION GetStartPosition( ) const throw( );

Return Value

Returns the start position, or NULL is returned if the map is empty.

Remarks

Call this method to start a map iteration by returning a POSITION value that can be passed to the GetNextAssoc method.

Note

The iteration sequence is not predictable

Example

See the example for CAtlMap::CAtlMap.

Requirements

Header: atlcoll.h

See Also

CAtlMap Class
CAtlMap::GetNextAssoc