Name Property

The name of the current value of an enum.

Syntax

ReadOnly Property Name As String

Parameters

None

Examples

IronPython

#Get the name of the current enum value
myName = Host.ScriptData.Variable[varName].Name


C#

//Get the name of the current enum value

string myName = ScriptData.Variables[varName].Name;

Remarks