Variables Property

The static and dynamic variables in scope of the script.

Syntax

Property Variables As Dictionary(Of String, VSVariable)

Parameters

None

Examples

IronPython

#Get variables 

#Convert .NET Dictionary to IronPython dict()
varDict = dict(Host.ScriptData.Variables) 
vars = "\r\n".join(varDict)


C#

//Get variables

Dictionary<string, VSVariable> varDict = ScriptData.Variables;


Remarks