DataFunctionCollectionAddNew Method TIBCO Spotfire 7.11 API Reference

Namespace: Spotfire.Dxp.Data.DataFunctions
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
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.9, 7.8, 7.7, 7.6, 7.5, 7.11, 7.10, 7.0
See Also

Reference