G
Guest
Hi
In VB6 you could declare and enumeration with spaces using the [enu
value] type syntax
I am now trying to implement an enum in VB.NET using this syntax and
am having an issue
Public Enum myEnu
EnumWithoutSpace
[Enum With Spaces
End Enu
Private Sub (ByVal a As myEnum
Select Case
Case myEnum.EnumWithoutSpace
'Do Somethin
Case myEnum.[Enum With Spaces
'Do Something Els
End Selec
End Su
I get the message "Identifier expected." at compile time. Any hel
would be appreciated
Regards
Willia
In VB6 you could declare and enumeration with spaces using the [enu
value] type syntax
I am now trying to implement an enum in VB.NET using this syntax and
am having an issue
Public Enum myEnu
EnumWithoutSpace
[Enum With Spaces
End Enu
Private Sub (ByVal a As myEnum
Select Case
Case myEnum.EnumWithoutSpace
'Do Somethin
Case myEnum.[Enum With Spaces
'Do Something Els
End Selec
End Su
I get the message "Identifier expected." at compile time. Any hel
would be appreciated
Regards
Willia