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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > BitwiseOr Method : BitwiseOr(Object,UAFilterOperand) Method

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter cannot be null (Nothing in Visual Basic).

The result is an integer which matches the size of the largest operand and contains a bitwise Or 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 BitwiseOr( _
   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.BitwiseOr(literalValue0, operand1)
[NotNull()]
public static UAContentFilterElement BitwiseOr( 
   object literalValue0,
   UAFilterOperand operand1
)
[NotNull()]
public:
static UAContentFilterElement^ BitwiseOr( 
   Object^ literalValue0,
   UAFilterOperand^ operand1
) 

Parameters

literalValue0

The value of this parameter can be null (Nothing in Visual Basic).

operand1

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

This method never returns null (Nothing in Visual Basic).

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