Click or drag to resize

ApiSessionGetGlobalVariable Method (ObjectProxy, String)

Fetches a variable from a given VariableSet

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy GetGlobalVariable(
	ObjectProxy aParentVariableSet,
	string aScriptingName
)

Parameters

aParentVariableSet
Type: Articy.ApiObjectProxy
VariableSet
aScriptingName
Type: SystemString
Name of the variable

Return Value

Type: ObjectProxy
either the object proxy or null when the variable is not known
Exceptions
ExceptionCondition
ArticyApiExceptionProjectNotOpen is thrown when no project is currently loaded.
ArticyApiExceptionUnsupportedObject when passing an invalid aParentVariableSet.
See Also