StaticVariableExists Property

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

Syntax

ReadOnly Property StaticVariableExists(varName) As Boolean

Parameters

varName

Type: String

The name of the variable

Examples

IronPython

#Check whether or not a static variable exists

static_ok = Host.ScriptData.StaticVariableExists[varName]



C#

//Check whether or not a static variable exists

bool static_ok = ScriptData.get_StaticVariableExists(varName);


Remarks