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



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

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

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

TRUE if operand[0] is equal to operand[1].

Remarks:

If the operands are of different types, the system shall perform any implicit conversion to a common type. This operator resolves to FALSE if no implicit conversion is available and the operands are of different types. This operator returns FALSE if the implicit conversion fails.

Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Equals( _
   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.Equals(operand0, literalValue1)
[NotNull()]
public static UAContentFilterElement Equals( 
   UAFilterOperand operand0,
   object literalValue1
)

Parameters

operand0

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

literalValue1

The value of this parameter can 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