共用方式為


CConnectionPoint::GetStartPosition

Starts a map iteration by returning a POSITION value that can be passed to a GetNextConnection call.

POSITION GetStartPosition( ) const;

Return Value

A POSITION value that indicates a starting position for iterating the map; or NULL if the map is empty.

Remarks

The iteration sequence is not predictable; therefore, the "first element in the map" has no special significance.

Example

See the example for CConnectionPoint::GetNextConnection.

Requirements

Header: afxdisp.h

See Also

Concepts

CConnectionPoint Class

CConnectionPoint Members

Hierarchy Chart