Adds a new global variable to the collection. This overload allows the global variable to be created and sets up all publishing target overrides first.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
Parameters
- variable
- Type: Ingeniux.CMSIGlobalVariable
Global variable to add
Exceptions
Exception | Condition |
---|---|
ArgumentException | When another variable exists with the same name. |
See Also