Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB enum and C# evaluation
Message
From
06/05/2004 15:38:01
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00901722
Message ID:
00901724
Views:
11
Vlad,

>I created an enum structure in vb.net
>Public Enum PDFJobStatus
>    Success = 0
>    Pending = 1
>    Failed = 1
>End Enum

I don't know if it has anything to do with your problem, but, unless it's a typo, you have both Pending and Failed equal to 1. If it's not actually that way in your code, then I don't know the answer ... I assume that VB enums and C# enums are the same, but I don't really know.

~~Bonnie



>
>and in c# i compare (convStatus==PDFJobStatus.Pending)
>
>Well it return false even when convStatus has Pending value.
>
>Any ideas how to evaluate this?
>Thanks,
>
>Vlad
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform