.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaBase.QualifiedName Class Reference

Stores a name qualified by a namespace. More...

Inherits IComparable, IFormattable, and ICloneable.

Public Member Functions

 QualifiedName ()
 Initializes a new instance of the QualifiedName class. More...
 
 QualifiedName (string name)
 Initializes a new instance of the QualifiedName class. More...
 
 QualifiedName (string name, ushort namespaceIndex)
 Initializes a new instance of the QualifiedName class. More...
 
override bool Equals (object obj)
 Returns true if the object is equal to the instance. More...
 
override int GetHashCode ()
 Returns a hash code for the instance. More...
 
int CompareTo (object obj)
 Compares the instance to another object. More...
 
object Clone ()
 Creates a new object that is a copy of the current instance. More...
 
override string ToString ()
 Formats the object as a string. More...
 
string ToString (string format, IFormatProvider formatProvider)
 Formats the object as a string. More...
 
string Format ()
 Formats a node id as a string. More...
 
void Format (StringBuilder buffer)
 Formats the node ids as string and adds it to the buffer. More...
 

Static Public Member Functions

static bool IsNull (QualifiedName qname)
 Determines whether the specified QualifiedName is null. More...
 
static QualifiedName Parse (string text)
 Parses the specified text. More...
 
static QualifiedName Parse (string text, StringTable sourceTable, StringTable targetTable)
 Parses the specified text. More...
 
static bool operator== (QualifiedName qn1, QualifiedName qn2)
 Implements the operator ==. More...
 
static bool operator!= (QualifiedName qn1, QualifiedName qn2)
 Implements the operator !=. More...
 
static implicit operator QualifiedName (string qname)
 Performs an implicit conversion from System.String to UnifiedAutomation.UaBase.QualifiedName. More...
 

Static Public Attributes

static readonly QualifiedName Null = new QualifiedName()
 Represents a Null value. More...
 

Properties

ushort NamespaceIndex [get]
 Gets the index of the namespace. More...
 
string Name [get]
 Gets the name. More...
 

Detailed Description

Stores a name qualified by a namespace.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.QualifiedName.QualifiedName ( )

Initializes a new instance of the QualifiedName class.

UnifiedAutomation.UaBase.QualifiedName.QualifiedName ( string  name)

Initializes a new instance of the QualifiedName class.

Parameters
nameThe name.
UnifiedAutomation.UaBase.QualifiedName.QualifiedName ( string  name,
ushort  namespaceIndex 
)

Initializes a new instance of the QualifiedName class.

Parameters
nameThe name.
namespaceIndexIndex of the namespace.

Member Function Documentation

object UnifiedAutomation.UaBase.QualifiedName.Clone ( )

Creates a new object that is a copy of the current instance.

Returns
A new object that is a copy of this instance.
int UnifiedAutomation.UaBase.QualifiedName.CompareTo ( object  obj)

Compares the instance to another object.

Parameters
objThe object to compare to this object
override bool UnifiedAutomation.UaBase.QualifiedName.Equals ( object  obj)

Returns true if the object is equal to the instance.

string UnifiedAutomation.UaBase.QualifiedName.Format ( )

Formats a node id as a string.

void UnifiedAutomation.UaBase.QualifiedName.Format ( StringBuilder  buffer)

Formats the node ids as string and adds it to the buffer.

override int UnifiedAutomation.UaBase.QualifiedName.GetHashCode ( )

Returns a hash code for the instance.

static bool UnifiedAutomation.UaBase.QualifiedName.IsNull ( QualifiedName  qname)
static

Determines whether the specified QualifiedName is null.

Parameters
qnameThe qualified name.
Returns
true if the specified QualifiedName is null; otherwise, false.
static implicit UnifiedAutomation.UaBase.QualifiedName.operator QualifiedName ( string  qname)
static

Performs an implicit conversion from System.String to UnifiedAutomation.UaBase.QualifiedName.

Parameters
qnameThe qualified name.
Returns
The result of the conversion.
static bool UnifiedAutomation.UaBase.QualifiedName.operator!= ( QualifiedName  qn1,
QualifiedName  qn2 
)
static

Implements the operator !=.

Parameters
qn1The QN1.
qn2The QN2.
Returns
The result of the operator.
static bool UnifiedAutomation.UaBase.QualifiedName.operator== ( QualifiedName  qn1,
QualifiedName  qn2 
)
static

Implements the operator ==.

Parameters
qn1The QN1.
qn2The QN2.
Returns
The result of the operator.
static QualifiedName UnifiedAutomation.UaBase.QualifiedName.Parse ( string  text)
static

Parses the specified text.

Parameters
textThe text.
Returns
static QualifiedName UnifiedAutomation.UaBase.QualifiedName.Parse ( string  text,
StringTable  sourceTable,
StringTable  targetTable 
)
static

Parses the specified text.

Parameters
textThe text.
sourceTableThe source table.
targetTableThe target table.
Returns
override string UnifiedAutomation.UaBase.QualifiedName.ToString ( )

Formats the object as a string.

string UnifiedAutomation.UaBase.QualifiedName.ToString ( string  format,
IFormatProvider  formatProvider 
)

Formats the object as a string.

Member Data Documentation

readonly QualifiedName UnifiedAutomation.UaBase.QualifiedName.Null = new QualifiedName()
static

Represents a Null value.

Property Documentation

string UnifiedAutomation.UaBase.QualifiedName.Name
get

Gets the name.

ushort UnifiedAutomation.UaBase.QualifiedName.NamespaceIndex
get

Gets the index of the namespace.

The index of the namespace.


The documentation for this class was generated from the following file: