Adds a new global variable and sets its global value.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
Parameters
- name
- Type: SystemString
Name of global variable - value
- Type: SystemString
Global value to set
Return Value
Type: IGlobalVariableNewsly created global variable
Exceptions
Exception | Condition |
---|---|
ArgumentException | When another variable exists with the same name. |
See Also