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



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace > NodeDescriptor Class : Match Method
The node descriptor to match against.
Determines whether the node descriptor matches another node descriptor.
Syntax
'Declaration
 
Public Function Match( _
   ByVal other As NodeDescriptor _
) As Boolean
'Usage
 
Dim instance As NodeDescriptor
Dim other As NodeDescriptor
Dim value As Boolean
 
value = instance.Match(other)
public bool Match( 
   NodeDescriptor other
)
public:
bool Match( 
   NodeDescriptor^ other
) 

Parameters

other
The node descriptor to match against.

Return Value

Returns true if two node descriptors match; otherwise, returns false.
Remarks
Two node descriptors match if any information that is present in both node descriptors is equal. For example, if a node Id in one of the node descriptors is not present (null), a node Id in the other node descriptor can be anything, or also not present. But if a node Id is present in both node descriptors, it must be the same node Id. Same rules apply to the browse path portion of the node descriptor.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

NodeDescriptor Class
NodeDescriptor Members