[This is preliminary documentation and is subject to change.]
Replaces any current singleton object with a new one.
Declaration Syntax
C# |
public void ReplaceSingleton( Persistent singleton )
Parameters
- singleton (Persistent)
- The new singleton object.
Remarks
This replaces an existing singleton object for the running Package in the current Environment with the supplied one.
NB: This will delete the entire persistent tree under the existing singleton object with the same class as the supplied one.