Click or drag to resize

IGlobalVariablesCollectionAddVariable(String, String) Method


Adds a new global variable and sets its global value.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IGlobalVariable AddVariable(
	string name,
	string value
)

Parameters

name  String
Name of global variable
value  String
Global value to set

Return Value

IGlobalVariable
Newsly created global variable
Exceptions
ExceptionCondition
ArgumentExceptionWhen another variable exists with the same name.
See Also