Skip to content

Reference

OpcNodeId Class

Defines an identifier for a node in the address space of an OPC UA Server.

Reference

OpcNodeId Class ​

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcNodeId Members
Also in
Opc.UaFx.Client

Defines an identifier for a node in the address space of an OPC UA Server.

Syntax ​

csharp
[OpcDataType(17)]
public class OpcNodeId
vbnet
<OpcDataType(17)>
Public Class OpcNodeId

Inheritance ​

Object → OpcNodeId

Implements ​

Constructors ​

NameDescription
OpcNodeId22 overloadsInitializes a new instance of the OpcNodeId class using the value specified.

Fields ​

NameDescription
DefaultSeparatorstaticDefines the character which is used to separate parent-child related node identifiers from each other when constructing a parent-child related node identifier using Of.
DefaultSeparatorOfPathstaticDefines the character which is used to separate node-component-node related node identifiers form each other when constructing a node-component-node related node identifier using WithPath.

Properties ​

NameDescription
FactorystaticGets or sets the globally used OpcNodeIdFactory to generate new instances of the OpcNodeId class.
IsAbsoluteGets a value indicating whether the identifier is an absolute one.
IsNullGets a value indicating whether the node identifier is a null identifier.
NamespaceGets the OpcNamespace used by the OpcNodeId to describe the namespace to that the node identifier belongs.
NamespaceIndexGets the index of the namespace that this identifier belongs.
NamespaceUriGets the uniform resource identifier (URI) of the namespace referred by the NamespaceIndex.
NullstaticGets the default null node identifier.
OriginalFormatGets the original format of the node identifier from that the instance was constructed.
OriginalStringGets the original node identifier string that was passed to the Parse method.
PathGets the path portion of the Value which refers to the logical (= physically not available in the address space) portion of the identifier.
Resolutionstatic · since v2.26Gets an instance of the OpcNodeIdResolution class used to resolve node identifiers.
TypeGets the type of Value used to define the identifier.
ValueGets the Type dependent value of the identifier represented.
ValueAsStringGets the Value formatted as a string.

Methods ​

NameDescription
Comparestatic · since v2.41Compares two specified OpcNodeId objects according to a specific comparison method.
CompareTo3 overloadsCompares the current OpcNodeId with the other.
Equals5 overloadsDetermines whether the specified other is equal to this OpcNodeId.
ExcludePathRetrieves a new OpcNodeId there its Value not longer contains any Path information.
GetHashCodeoverrideRetrieves a hash code for this OpcNodeId.
IsNullOrEmptystatic · since v2.14Indicates whether the specified OpcNodeId is null or its Value is null, default or an empty string ("").
Ofstatic · 3 overloadsCreates a new OpcNodeId instance from the name specified.
ParsestaticConverts a node identifier string to a OpcNodeId instance.
ResolveResolves this node identifier to a new node identifier its Namespace might be known in the context of the resolver object specified.
ToString2 overloadsReturns a string representing the node identifier.
TryParsestaticDetermines whether a string is a valid node identifier.
UriIdentifierstaticRetrieves the Value of the nodeId as an Uri.
WithPath2 overloadsDefines a new OpcNodeId using the Value, Namespace and Path of this OpcNodeId by combining this Path with the path specified.

Operators ​

NameDescription
EqualitystaticReturns a value indicating whether two instance of OpcNodeId are equal.
Explicitstatic · 2 overloadsConverts a OpcNodeId to an NodeId object.
GreaterThanstaticDetermines whether the first specified OpcNodeId object is greater than the second specified OpcNodeId object.
GreaterThanOrEqualstaticDetermines whether the first specified OpcNodeId object is greater than or equal to the second specified OpcNodeId object.
Implicitstatic · 4 overloadsConverts a string to an OpcNodeId object.
InequalitystaticReturns a value indicating whether two instances of OpcNodeId are not equal.
LessThanstaticDetermines whether the first specified OpcNodeId object is less than the second specified OpcNodeId object.
LessThanOrEqualstaticDetermines whether the first specified OpcNodeId object is less than or equal to the second OpcNodeId object.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.5–v2.59