XLL+ Class Library

CXllApp::GetNextFnAssoc

Iterate the function map

[C++]
void GetNextFnAssoc(
   CXllApp::POSITION rNextPosition,
   CString rKey,
   CXllFn*& rpfn
);

Parameters

rNextPosition

Specifies a reference to a CXllApp::POSITION value returned by a previous GetNextFnAssoc or GetStartFnPosition call.

rKey

Specifies the returned key of the retrieved element.

rpfn

Specifies the returned value of the retrieved element.

Remarks

Retrieves the map element at rNextPosition, then updates rNextPosition to refer to the next element in the map. This function is most useful for iterating through all the elements in the map. Note that the position sequence is not necessarily the same as the key value sequence.

If the retrieved element is the last in the map, then the new value of rNextPosition is set to NULL.

Example

CXllApp::GetNextFnAssoc() Example

Requirements

Header: xllplus.h

See Also

CXllApp Class | CXllApp Methods | CXllApp::GetStartFnPosition()