Writes the contents of a VarSet object to a file.
ScriptContext.GetScriptState.GetScriptSet.DumpToFile(FileName String);
FileName
|
Specifies the name of the file to which to write the VarSet. |
None.
To write the contents of the
MYsavedvarset
VarSet object to the
DUMPFILE1.VAR
file, enter:
Dim MYscriptstate Dim MYvarset Set MYscriptstate = ScriptContext.GetScriptState Set MYvarset = MYscriptstate.GetSet("MYsavedvarset") MYvarset.DumpToFile("DUMPFILE1.VAR")