DataFunctionDefinition SaveAs Method TIBCO Spotfire 6.5 API Reference
Saves the function definition as a new item in the library.

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

public LibraryItem SaveAs(
	LibraryItem folder,
	string title,
	IEnumerable<string> keywords,
	out DataFunctionDefinition savedFunctionDefinition
)

Parameters

folder
Type: Spotfire.Dxp.Framework.Library LibraryItem
The library folder in which to save the function definition to.
title
Type: System String
The title of the library item.
keywords
Type: System.Collections.Generic IEnumerable String 
The keywords.
savedFunctionDefinition
Type: Spotfire.Dxp.Data.DataFunctions DataFunctionDefinition 
The new function definition that has been saved.

Return Value

Type: LibraryItem
The library item for the newly saved function.
Exceptions

ExceptionCondition
Spotfire.Dxp.Framework.Library LibraryExceptionThrown if it was not possible to store the function definition in the library.
Remarks

This method will overwrite any existing item but keep the existing library item id.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also