QuickOPC User's Guide and Reference
Match Method (UANamespaceQualified)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANamespaceQualified Class : Match Method
A UANamespaceQualified object. The node Id to match against.
Determines whether the namespace qualified object matches another namespace qualified object.
Syntax
'Declaration
 
Protected Function Match( _
   ByVal other As UANamespaceQualified _
) As Boolean
'Usage
 
Dim instance As UANamespaceQualified
Dim other As UANamespaceQualified
Dim value As Boolean
 
value = instance.Match(other)
protected bool Match( 
   UANamespaceQualified other
)
protected:
bool Match( 
   UANamespaceQualified^ other
) 

Parameters

other
A UANamespaceQualified object. The node Id to match against.

Return Value

Returns true if two namespace qualified objects match; otherwise, returns false.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks
For a match, must equal only if present in both namespace qualified objects.
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