.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaBase.XmlString Class Reference

Represents a XML element value. More...

Inherits IComparable, IFormattable, and ICloneable.

Public Member Functions

 XmlString (System.Xml.XmlElement element)
 Creates a XML element from a System.Xml.XmlElement. More...
 
 XmlString (string xml)
 Creates a XML element from a string. More...
 
 XmlString (byte[] bytes)
 Creates a XML element from an array (does not copy the the array). More...
 
object Clone ()
 Creates a deep copy of the object. 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...
 
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...
 

Static Public Member Functions

static bool IsNull (XmlString value)
 Checks if the XML element is null. More...
 
static operator byte[] (XmlString value)
 Converts a XmlString to a byte array. More...
 
static operator System.Xml.XmlElement (XmlString value)
 Converts a XmlString to an XmlElement. More...
 
static implicit operator XmlString (System.Xml.XmlElement value)
 Converts a byte array to a XmlString. More...
 
static bool operator== (XmlString value1, XmlString value2)
 Compares a XmlString to a byte array. More...
 
static bool operator!= (XmlString value1, XmlString value2)
 Compares a XmlString to a byte array. More...
 

Static Public Attributes

static readonly XmlString Null = new XmlString()
 A constant resprenting a Null XmlString value. More...
 

Detailed Description

Represents a XML element value.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.XmlString.XmlString ( System.Xml.XmlElement  element)
inline

Creates a XML element from a System.Xml.XmlElement.

UnifiedAutomation.UaBase.XmlString.XmlString ( string  xml)
inline

Creates a XML element from a string.

UnifiedAutomation.UaBase.XmlString.XmlString ( byte[]  bytes)
inline

Creates a XML element from an array (does not copy the the array).

Member Function Documentation

object UnifiedAutomation.UaBase.XmlString.Clone ( )
inline

Creates a deep copy of the object.

int UnifiedAutomation.UaBase.XmlString.CompareTo ( object  obj)
inline

Compares the instance to another object.

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

Returns true if the object is equal to the instance.

string UnifiedAutomation.UaBase.XmlString.Format ( )
inline

Formats a node id as a string.

override int UnifiedAutomation.UaBase.XmlString.GetHashCode ( )
inline

Returns a hash code for the instance.

static bool UnifiedAutomation.UaBase.XmlString.IsNull ( XmlString  value)
inlinestatic

Checks if the XML element is null.

Parameters
valueThe value.
Returns
true if the specified value is null; otherwise, false.
static UnifiedAutomation.UaBase.XmlString.operator byte[] ( XmlString  value)
inlineexplicitstatic

Converts a XmlString to a byte array.

Parameters
valueThe value.
Returns
The result of the conversion.
static UnifiedAutomation.UaBase.XmlString.operator System.Xml.XmlElement ( XmlString  value)
inlineexplicitstatic

Converts a XmlString to an XmlElement.

Parameters
valueThe value.
Returns
The result of the conversion.
static implicit UnifiedAutomation.UaBase.XmlString.operator XmlString ( System.Xml.XmlElement  value)
inlinestatic

Converts a byte array to a XmlString.

Parameters
valueThe value.
Returns
The result of the conversion.
static bool UnifiedAutomation.UaBase.XmlString.operator!= ( XmlString  value1,
XmlString  value2 
)
inlinestatic

Compares a XmlString to a byte array.

Parameters
value1The value1.
value2The value2.
Returns
The result of the operator.
static bool UnifiedAutomation.UaBase.XmlString.operator== ( XmlString  value1,
XmlString  value2 
)
inlinestatic

Compares a XmlString to a byte array.

Parameters
value1The value1.
value2The value2.
Returns
The result of the operator.
override string UnifiedAutomation.UaBase.XmlString.ToString ( )
inline

Formats the object as a string.

string UnifiedAutomation.UaBase.XmlString.ToString ( string  format,
IFormatProvider  formatProvider 
)
inline

Formats the object as a string.

Member Data Documentation

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

A constant resprenting a Null XmlString value.


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