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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > BitwiseAnd Method : BitwiseAnd(UAFilterOperand,Object) 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 an integer.
[1]: Any operand that resolves to an integer.
If any operand cannot be resolved to an integer it is considered a NULL.

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

Parameters

operand0
literalValue1
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