Click or drag to resize

ApiSessionGetGlobalVariable Method (String)

Gets a global variable whose full qualified name, namespace & variable name, is known. For example "game.IsRunning"

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

Parameters

aFullQualifiedName
Type: SystemString
the full qualified variable name, which is the parent namespace and the variable seperated with a dot.

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.
ArticyApiExceptionInvalidVariableName is thrown when passing an invalid name.
See Also