Adds a new DataFunction from a DataFunctionDefinition.
Namespace: Spotfire.Dxp.Data.DataFunctions
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public DataFunction AddNew( string suggestedName, DataFunctionDefinition dataFunctionDefinition )
Parameters
- suggestedName
- Type: SystemString
The suggested name of the function. - dataFunctionDefinition
- Type: Spotfire.Dxp.Data.DataFunctionsDataFunctionDefinition
The function definition.
Return Value
Type: DataFunctionThe newly added DataFunction.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the suggestedName or the dataFunctionDefinition is null. |
ArgumentException | Thrown if the suggested name is the empty string. |
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also