Click or drag to resize

ApiSessionCreateGlobalVariable Method (ObjectProxy, String, VariableType, String)

Creates a new variable in the given variable set 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,
	VariableType aType,
	string aDescription = ""
)

Parameters

aParentVariableSet
Type: Articy.ApiObjectProxy
the existing parent variable set of the new variable
aScriptingName
Type: SystemString
the name of the new variable
aType
Type: VariableType
the data type 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