GetSet Method

Gets a VarSet object specified by name from the persistent store. You can manipulate the VarSet object with the VarSet object methods.

Syntax

ScriptContext.GetScriptState.GetSet(VarSetName String)

Parameters

VarSetName Specifies the name of the VarSet object to get from the persistent store.

Return Type

VarSet.

Example

To get the VarSet object named MYsavedvarset from a persistent store, enter:

Dim MYscriptstate
Dim MYvarset
set MYscriptstate = ScriptContext.GetScriptState
set MYvarset = MYscriptstate.GetSet("MYsavedvarset")