IGlobalVariablesCollectionAddVariable Method (String, String) Ingeniux CMS Content Store API

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

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

Reference