DataFunctionCollection AddNew Method TIBCO Spotfire 6.0 API Reference

Namespace: Spotfire.Dxp.Data.DataFunctions
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public DataFunction AddNew(
	string suggestedName,
	DataFunctionDefinition dataFunctionDefinition
)

Parameters

suggestedName
Type: System String
The suggested name of the function.
dataFunctionDefinition
Type: Spotfire.Dxp.Data.DataFunctions DataFunctionDefinition
The function definition.

Return Value

Type: DataFunction
The newly added DataFunction.
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrown if the suggestedName or the dataFunctionDefinition is null.
System ArgumentExceptionThrown if the suggested name is the empty string.
See Also