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



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

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

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

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

Remarks:

The same conversion rules and restrictions as defined for GreaterThan apply.

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

Parameters

operand0

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