Click or drag to resize

IGlobalVariablesCollectionAddVariable Method (IGlobalVariable)


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: 10.3.169
Syntax
void AddVariable(
	IGlobalVariable variable
)

Parameters

variable
Type: Ingeniux.CMSIGlobalVariable
Global variable to add
Exceptions
ExceptionCondition
ArgumentExceptionWhen another variable exists with the same name.
See Also