Exports one or multiple categories of preferences into a file.
Preferences.Export( Filename, [Categories] ); |
Parameter | Type | Description |
---|---|---|
Filename | String | The filename to export. |
Categories | String | The categories to export. The categories must be separated by commas. If null all categories will be exported |
// This exports 2 categories var app = Application; var path = XSIUtils.BuildPath( app.InstallationPath(siFactoryPath), "myprefs.xsipref" ); app.Preferences.Export(path, "data_management, scripting"); |
' This exports all preferences set app = Application path = XSIUtils.BuildPath( app.InstallationPath(siFactoryPath), "myprefs.xsipref" ) Application.Preferences.Export path |