IsEqualTo Method
Determines whether or not the enum is equal to the specified one.
Syntax
Sub IsEqualTo(enumCompare) |
Parameters
val
Type: VSEnumPropertyVale
The enum to compare
Return Value
Type: Boolean
Examples
IronPython
#Check equality myEnum = VSEnumPropertyValue(1, "red;amber;green") is_equal = myEnum_clone.IsEqualTo(myEnum) |
C#
//Check equality VSEnumPropertyValue myEnum = VSEnumPropertyValue(1, "red;amber;green"); |
Remarks