GetSharedVariable method

Applies to

Example

Description

Returns the shared variable that was specified by the SetSharedVariable method. Shared variables retain their value across event boundaries.

Syntax

[ReturnValue =] Object.GetSharedVariable ( VariableName )

Part

Data type

Description

Object

Object

An object expression that evaluates to an object in the Applies To list.

VariableName

String

The name of the variable.

Settings

Return value

Data type: String – the value of the specified variable.

Remarks

Classic method

GetSharedVariable