System.Flags.HasFlags C# (CSharp) Method

HasFlags() public static method

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

Same methods

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