Click or drag to resize

IGlobalVariablesCollectionAddVariable Method (String, String)


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.308
Syntax
IGlobalVariable AddVariable(
	string name,
	string value
)

Parameters

name
Type: SystemString
Name of global variable
value
Type: SystemString
Global value to set

Return Value

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