Method

BitwiseAnd


Warning

This item was deprecated in version 2018r2. Please use Bitwise.BitAnd as a replacement.

Description

Performs a bitwise And on value1 and value2.

Usage

result = BitwiseAnd(value1, value2)

Part

Description

value1

Required. A UInt64 value.

value2

Required. A UInt64 value.

result

Integer value.

Sample code

Dim b As Integer = 15
Dim a As Integer = 7
Dim c As Integer = BitwiseAnd(a, b) ' c = 7

Compatibility

All project types on all supported operating systems.

See also

Bitwise.BitAnd function;