CAtlMap::GetStartPosition

Call this method to start a map iteration.

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.

备注

The iteration sequence is not predictable

Example

See the example for CAtlMap::CAtlMap.

Requirements

Header: atlcoll.h

See Also

Concepts

CAtlMap Class

CAtlMap Members

CAtlMap::GetNextAssoc