Adds a new DataFunction from a DataFunctionDefinition.
Namespace: Spotfire.Dxp.Data.DataFunctionsAssembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- suggestedName
- Type: System String
The suggested name of the function.
- dataFunctionDefinition
- Type: Spotfire.Dxp.Data.DataFunctions DataFunctionDefinition
The function definition.
Return Value
Type: DataFunctionThe newly added DataFunction.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown if the suggestedName or the dataFunctionDefinition is null. |
System ArgumentException | Thrown if the suggested name is the empty string. |
Version Information
See Also