A NodeId with an integer identifier. More...
Inherits NodeId.
Public Member Functions | |
NumericNodeId (int namespaceIndex, long identifier) | |
Creates a new numeric NodeId identifier in the given namespaceIndex . More... | |
override int | GetHashCode () |
Gets the hash code of this identifier. More... | |
override bool | Equals (NodeId other) |
Equality-compares this NumericNodeId with the other one. More... | |
Public Member Functions inherited from NodeId | |
void | Dispose () |
Disposes the native object wrapped by this object immediately. More... | |
override string | ToString () |
Gets the string representation of this NodeId. More... | |
abstract bool | Equals (NodeId other) |
Equality-compares this NodeId with the other one. More... | |
override bool | Equals (object other) |
Equality-compares this NodeId with the other one. More... | |
override int | GetHashCode () |
Gets the hash code for this NodeId. More... | |
Properties | |
long | Identifier [get] |
Gets the identifier value. | |
Properties inherited from NodeId | |
IntPtr | Handle [get] |
Native CVB OPCNID handle. More... | |
bool | IsDisposed [get] |
Tests whether the native handle has been disposed. | |
int | NamespaceIndex [get] |
Gets the namespace index (or page) this identifier belongs to. More... | |
Properties inherited from INativeHandle | |
IntPtr | Handle [get] |
The native handle of the object. | |
bool | IsDisposed [get] |
Possibility to check whether the object has already been disposed of. | |
Additional Inherited Members | |
Static Public Member Functions inherited from NodeId | |
static NodeId | FromHandle (IntPtr handle) |
Creates a new NodeId object from the given handle . More... | |
static NodeId | FromHandle (IntPtr handle, ShareObject doShare) |
Creates a new NodeId object from the given handle . More... | |
Protected Member Functions inherited from NodeId | |
NodeId (IntPtr handle) | |
Creates a new node id from the given handle . More... | |
virtual void | Dispose (bool disposing) |
IDispose helper function. More... | |
Events inherited from NodeId | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
Events inherited from INativeHandle | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. More... | |
A NodeId with an integer identifier.
NumericNodeId | ( | int | namespaceIndex, |
long | identifier | ||
) |
Creates a new numeric NodeId identifier in the given namespaceIndex .
namespaceIndex | Custom, positive (possibly 0) index. |
identifier | Identifier in the range of 0 and uint.MaxValue. |
|
virtual |
Equality-compares this NumericNodeId with the other one.
Two NodeIds are equal if they have the same identifier type and value and reside in the same namespace.
other | Other NodeId to compare with. |
true
if this and the other object are equal.Implements NodeId.
override int GetHashCode | ( | ) |
Gets the hash code of this identifier.