IsStatic Property

Indicates whether or not the variable is created before script execution (rather than during script execution).

Syntax

ReadOnly Property IsStatic As Boolean

Parameters

None

Examples

IronPython

#Get variable static flag
is_stat = Host.ScriptData.Variable[varName].IsStatic


C#

//Get variable static flag
bool is_stat = ScriptData.Variables[varName].IsStatic;


Remarks