Flags controlling the behaviour of an add-in function, including its signature flags (Volatile, ThreadSafe, DeferRecal) and its UI behavior (HideInFormulaWizard), as well as code generation effects (UsesApplicationData, CanFail).

Namespace:  XllPlus
Assembly:  Psl.XL7.XnReflect.Runtime (in Psl.XL7.XnReflect.Runtime.dll) Version: 7.0.9.1411 (7.0.9.1411)

Syntax

C#
[FlagsAttribute]
public enum XlFunctionFlags
Visual Basic (Declaration)
<FlagsAttribute> _
Public Enumeration XlFunctionFlags
Visual C++
[FlagsAttribute]
public enum class XlFunctionFlags

Members

Member nameDescription
None
No flags are applied. The behavior of the function will be normal.
ThreadSafe
If true, then the symbol "$" is appended to the signature. Ignored under XL4.
DoNotCallInFormulaWizard
If true, then the function will return early if called from the Excel Formula Wizard, and will always return a value of #VALUE!.
UsesApplicationData
If true, then the function uses application-level data. (Deprecated.)
Volatile
Specifies whether the function is volatile, and will therefore be recalculated every time any cell in the same sheet is calculated
DeferRecalc
Specifies whether the function can defer recalculation
CanFail
If this flag is true, then the execution of the function can fail. This is entirely separate from the issue of whether input processing can fail. If the flag is true, then the return type of the function is constrained to be Reference, so that it can return an error instead of a value.
CacheResults
Specifies whether the function's results should be cached, to improve performance of expensive calculations.
ArgumentValueHasPrefix
If this flag is true, then the Oper input's name will be the name of the argument, and the calculated value's name will be "val" + the name of the argument. If it is false, then the Oper input's name will be the name of the argument followed by "_oper", and the calculated value's name will be just the name of the argument. Old-style functions that have been upgraded will have this flag set. By default, it is off.
DoNotCatchStructuredExceptions
If this flag is true, then the SEH instance will not be inserted into the wrapper functions. By default, is is off.
CreateAsyncVersion
Specifies that an asynchronous version of the function should also be created.
CoreFlagFilter
Flags excluded by this filter will not be passed on to the XLL+ function model. They may be used by the reflector.

See Also