System.Flags.HasFlags C# (CSharp) 메소드

HasFlags() 공개 정적인 메소드

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

Same methods

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