CExtFormulaFunctionSet::AddFunction

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Registers the specified function object and returns true if succeeded or false otherwise.

virtual bool AddFunction(
   CExtFormulaFunction * pFF
   bool bErrorIfAlreadyRegistered = true
);

Parameters

pFF
Pointer to the function object.
bErrorIfAlreadyRegistered
Specifies that an attempt to register a function with a non-unique name is treated as an error if bErrorIfAlreadyRegistered is true; any subsequent attempts to register a function with the same name are ignored otherwise.

See Also

CExtFormulaFunctionSet Overview | Class Members | Hierarchy Chart