BACnet.Ashrae.StatusFlags.WithBit C# (CSharp) Method

WithBit() public method

public WithBit ( Bits bit, bool set = true ) : StatusFlags
bit Bits
set bool
return StatusFlags
        public StatusFlags WithBit(Bits bit, bool set = true)
        {
            return new StatusFlags(_bitstring.WithBit((int)bit, set));
        }