TEnumActionListRef = reference to procedure(const Action: TContainedAction; var Done: boolean);
__interface TEnumActionListRef : public System::IInterface
Anonymous method that receives an action.
Methods of this type can work as callback procedures in calls to EnumByCategory, which loops through a list of actions. For every action in the list, EnumByCategory calls your procedure with a new action from the list as the <Action> parameter.
Your implementation can set <Done> to
True to exit the loop. You can do this, for example, when you find an action that you were looking for, and you do not need to continue looking through the list of actions.