Value Property

The byte value of the enum.

Syntax

Property Value As Byte

Parameters

None

Examples

IronPython

#Get the byte value of an enum
myEnum = Host.ScriptData.Variable[varName].Value


#Set the byte value of an enum
Host.ScriptData.Variable[varName].Value = 1


C#

//Get the byte value of an enum 
byte myEnum = ScriptData.Variables[varName].Value;

//Set the byte value of an enum
ScriptData.Variables[varName].Value = 1;

Remarks