Excel VBA
Tip: IF the enum description, contains blanks or special characters, then surround the enum name with brackets ([ ]).
Public Enum OfficeProduct
Access2007Only = 1
[MSAccess95-2003]
Excel2007Only
[MSExcel95-2003]
[XML]
End Enum
C#
public enum OfficeProduct {
Access2007Only=1,
MSAccess95_2003=2,
Excel2007Only=3,
MSExcel95_2003=4,
XML=5};
No comments:
Post a Comment