New Method
Creates a new enum.
Syntax
Sub New(val, enumValue) |
Parameters
val
Type: Byte
The value of the enum
enumValue
Type: String
The possible values of the enum, separated by a semicolon (;)
Return Value
Type: VSEnumPropertyVale
Examples
IronPython
#Create enum myEnum = VSEnumPropertyValue(1, "red;amber;green") |
C#
//Create enum VSEnumPropertyValue myEnum = new VSEnumPropertyValue(1, "first;second;third"); |
Remarks