Click or drag to resize

ApiSessionCreateGlobalVariable Method (ObjectProxy, String, String, String)

Creates a new string variable in the given namespace with the given type.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy CreateGlobalVariable(
	ObjectProxy aParentVariableSet,
	string aScriptingName,
	string aDefaultValue,
	string aDescription = ""
)

Parameters

aParentVariableSet
Type: Articy.ApiObjectProxy
the parent variable set for the new variable
aScriptingName
Type: SystemString
the name of the new variable
aDefaultValue
Type: SystemString
the default value of the new variable
aDescription (Optional)
Type: SystemString
the description of the new variable

Return Value

Type: ObjectProxy
the freshly created object; use this return value to further initialize the properties of the new variable
See Also