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



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Filtering Namespace > UAFilterElements Class > Between Method : Between(UAFilterOperand,Object,UAFilterOperand) 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).

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

TRUE if operand[0] is greater or equal to operand[1] and less than or equal to operand[2].

Remarks:

The following restrictions apply to the operands:
[0]: Any operand that resolves to an ordered value.
[1]: Any operand that resolves to an ordered value.
[2]: Any operand that resolves to an ordered value.
If the operands are of different types, the system shall perform any implicit conversion to match all operands to a common type. If no implicit conversion is available and the operands are of different types, the particular result is FALSE.

Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Between( _
   ByVal operand0 As UAFilterOperand, _
   ByVal literalValue1 As Object, _
   ByVal operand2 As UAFilterOperand _
) As UAContentFilterElement
'Usage
 
Dim operand0 As UAFilterOperand
Dim literalValue1 As Object
Dim operand2 As UAFilterOperand
Dim value As UAContentFilterElement
 
value = UAFilterElements.Between(operand0, literalValue1, operand2)

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).

operand2

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