DataFunctionCollectionAddNew Method TIBCO Spotfire 7.6 API Reference

Namespace: Spotfire.Dxp.Data.DataFunctions
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
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: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference