Method SavePreset
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
SavePreset(string, object[], bool)
Saves the specified preset. Replaces: sa.NotifyElement(userID, elementID, SPA_NE_PRESET_SAVE (1), 0, presetName, presetData, out result);
void SavePreset(string presetName, object[] presetData, bool isGlobalPreset = true)
Parameters
presetNamestringThe name of the preset to update or create.
presetDataobject[]Object array as required by old SpectrumAnalyzerClass for SPA_NE_PRESET_SAVE = 1.
isGlobalPresetboolAllows to define if the preset should be shared to all users or private for scripting.
Exceptions
- ArgumentNullException
presetNameis null.- ArgumentException
presetNameis empty.