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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > Like Method : Like(Object,UAFilterOperand) Method
TRUE if operand[0] matches a pattern defined by operand[1].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to a String.
[1]: Any operand that resolves to a String.
This operator resolves to FALSE if no operand can be resolved to a string.

Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Like( _
   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.Like(literalValue0, 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