OPC Studio User's Guide and Reference
Intersect Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace > UARange Class : Intersect Method
The first range.
The second range.
Computes an intersection of two ranges.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function Intersect( _
   ByVal first As UARange, _
   ByVal second As UARange _
) As UARange
'Usage
 
Dim first As UARange
Dim second As UARange
Dim value As UARange
 
value = UARange.Intersect(first, second)
[NotNull()]
public static UARange Intersect( 
   UARange first,
   UARange second
)
[NotNull()]
public:
static UARange^ Intersect( 
   UARange^ first,
   UARange^ second
) 

Parameters

first
The first range.
second
The second range.

Return Value

Returns the intersection of first and second ranges.
Remarks
The intersection contains all elements of the first range that also belong to the second range.
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