DataFunctionDefinition SaveAs Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
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.
See Also