>Hi,
>
>I created an enum structure in vb.net
>Public Enum PDFJobStatus
> Success = 0
> Pending = 1
> Failed = 1
>End Enum
>
>and in c# i compare (convStatus==PDFJobStatus.Pending)
>
>Well it return false even when convStatus has Pending value.
Is convStatus a PDFJobStatus type? OR, is it an integer?
BOb
(Also what Bonnie said. Also, I usually don't specify the value of the Enum, let the compiler do that.)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only