Skip to content

Reference

OpcName Class

Represents the name of any kind of OPC UA entity through qualifying its nominal information with a reference to the namespace within the name is used.

Reference

OpcName Class ​

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

Represents the name of any kind of OPC UA entity through qualifying its nominal information with a reference to the namespace within the name is used.

Syntax ​

csharp
[OpcDataType(20)]
public class OpcName
vbnet
<OpcDataType(20)>
Public Class OpcName

Inheritance ​

Object → OpcName

Implements ​

Constructors ​

NameDescription
OpcName3 overloadsInitializes a new instance of the OpcName class using the value specified.

Properties ​

NameDescription
IsNullGets a value indicating whether the name is a null name.
NamespaceGets the OpcNamespace used by the OpcName to describe the namespace to that the name belongs.
NamespaceIndexGets the index of the namespace that this name belongs.
NamespaceUriGets the uniform resource identifier (URI) of the namespace referred by the NamespaceIndex.
NullstaticGets the default null name.
ValueGets the name without any namespace information.

Methods ​

NameDescription
CompareTo2 overloadsCompares the current OpcName with the other.
Equals2 overloadsDetermines whether the specified other is equal to this OpcName.
GetHashCodeoverrideRetrieves a hash code for this OpcName.
IsNullOrEmptystatic · since v2.14Indicates whether the specified OpcName is null or its Value is null or an empty string ("").
ParsestaticConverts a name string to a OpcName instance.
ToStringoverrideReturns a string representing the name.
TryParsestaticDetermines whether a string is a valid name.

Operators ​

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

Applies to ​

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