Click or drag to resize

IGlobalVariablesCollectionAddVariable(IGlobalVariable) Method


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.6.492
Syntax
void AddVariable(
	IGlobalVariable variable
)

Parameters

variable  IGlobalVariable
Global variable to add
Exceptions
ExceptionCondition
ArgumentExceptionWhen another variable exists with the same name.
See Also