DynamicVariableExists Property

Checks whether or not a dynamic variable exists with the specified varName.

Syntax

ReadOnly Property DynamicVariableExists(varName) As Boolean

Parameters

varName

Type: String

The name of the variable

Examples

IronPython

#Check whether or not a dynamic variable exists

dyna_ok = Host.ScriptData.DynamicVariableExists[varName]



C#

//Check whether or not a dynamic variable exists

bool dyna_ok = ScriptData.get_DynamicVariableExists(varName);


Remarks