QuickOPC User's Guide and Reference
BitwiseAnd(Object,UAFilterOperand) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > BitwiseAnd Method : BitwiseAnd(Object,UAFilterOperand) Method
The result is an integer which matches the size of the largest operand and contains a bitwise And operation of the two operands where both have been converted to the same size (largest of the two operands).

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a integer.
[1]: Any operand that resolves to a integer.
If any operand cannot be resolved to a integer it is considered a NULL.

Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function BitwiseAnd( _
   ByVal literalValue0 As Object, _
   ByVal operand1 As UAFilterOperand _
) As UAContentFilterElement
'Usage
 
Dim literalValue0 As Object
Dim operand1 As UAFilterOperand
Dim value As UAContentFilterElement
 
value = UAFilterElements.BitwiseAnd(literalValue0, operand1)
[NotNull()]
public static UAContentFilterElement BitwiseAnd( 
   object literalValue0,
   UAFilterOperand operand1
)
[NotNull()]
public:
static UAContentFilterElement^ BitwiseAnd( 
   Object^ literalValue0,
   UAFilterOperand^ operand1
) 

Parameters

literalValue0
operand1
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also