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:

Code:
    Public Enum FlagType
        Docs
        Email
        Web
    End Enum
And I assign multiple FlagType using OR like:

Code:
    Dim flags as FlagType = FlagType.Docs Or FlagType.Email
How do I then at runtime determine which flags where set for flags? In this example, it should be Docs and Email.