ParameterAttributes Enum
Lists parameter attributes.
Namespace: DevExpress.Spreadsheet.Functions
Assembly: DevExpress.Spreadsheet.v21.2.Core.dll
Declaration
Members
Name | Description |
---|---|
Required
|
The parameter is mandatory. A missing parameter results in a user warning dialog. |
Optional
|
The parameter is not required. If it is missing, the function still compiles and evaluates. Note that optional parameters should come after all required parameters. |
OptionalUnlimited
|
Any number of parameters which are not required. Note that the total number of parameters should not exceed 255 and the optional unlimited parameter should be the final parameter. |
Remarks
Specify the parameter attribute for the ParameterInfo objects in the IFunction.Parameters array to create a function signature. A function signature provides parameter validation when a function is evaluated.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ParameterAttributes enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.