I realize this is probably trivial, but for some reason I'm not sure how to pull it off. Say I have the following enum:
And I assign multiple FlagType using OR like:Code:Public Enum FlagType Docs Email Web End Enum
How do I then at runtime determine which flags where set for flags? In this example, it should be Docs and Email.Code:Dim flags as FlagType = FlagType.Docs Or FlagType.Email




Reply With Quote