System.Flags.HasFlags C# (CSharp) Méthode

HasFlags() public static méthode

public static HasFlags ( byte b, byte flags ) : bool
b byte
flags byte
Résultat bool
        public static bool HasFlags(byte b, byte flags)
        {
            return (b & flags) == flags;
        }

Same methods

Flags::HasFlags ( byte b, int flags ) : bool