DataFunctionCollectionAddNew Method

Spotfire 14.3 API Reference

Namespace:  Spotfire.Dxp.Data.DataFunctions
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
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: DataFunction
The newly added DataFunction.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown if the suggestedName or the dataFunctionDefinition is null.
ArgumentExceptionThrown if the suggested name is the empty string.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference