EnumValues Property
The different values of the enum, separated with the semicolon (;).
Syntax
|
Property EnumValues As String
|
Parameters
None
Examples
IronPython
|
#Get the possible enum values of an enum myColors = Host.ScriptData.Variable[varName].EnumValues
#Set the possible enum values of an enum Host.ScriptData.Variable[varName].EnumValues = "red;amber;green"
|
C#
|
//Get the possible enum values of an enum string myColors = ScriptData.Variables[varName].EnumValues;
//Set the possible enum values of an enum ScriptData.Variables[varName].EnumValues = "red;amber;green";
|
Remarks