OPC Studio User's Guide and Reference
GetHashCode Method (UANodeId)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace Namespace > UANodeId Class : GetHashCode Method
Serves as a hash function for a particular type.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetHashCode() As Integer
'Usage
 
Dim instance As UANodeId
Dim value As Integer
 
value = instance.GetHashCode()
public override int GetHashCode()
public:
int GetHashCode(); override 

Return Value

A hash code for the current object.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

OPC UA node Id, represented by the UANodeId class, directly identifies a node in a server's address space.

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

Reference

UANodeId Class
UANodeId Members
Base Implementation in GetHashCode
OPC UA Node IDs
Namespace indices in OPC UA Node Ids