Clone Method

Clones a variable.

Syntax

Sub Clone()


Parameters


None



Return Value


Type: VSVariable

Examples

IronPython

#Clone variable

varClone = Host.ScriptData.Variable[varName].Clone


C#

//Clone variable

VSVariable varClone = ScriptData.get_Variable(varName).Clone();

Remarks