March 2002
Intermediate to advanced
864 pages
31h 8m
English
XmlQualifiedName
This class represents a namespace-qualified local name. This looks like namespace:name within a document. An XmlQualifiedName object is constructed with the element’s name
and its namespace as string arguments. The namespace field may
be empty, in which case the default namespace of the document
is assumed.
public class XmlQualifiedName { // Public Constructors public method XmlQualifiedName(); public method XmlQualifiedName(string name); public method XmlQualifiedName(string name, string ns); // Public Static Fields public static readonly field XmlQualifiedName Empty; // Public Instance Properties public field bool IsEmpty{get; } public field string Name{get; } public field string Namespace{get; } // Public Static Methods public static method string ToString(string name, string ns); public static bool operator method !=( XmlQualifiedName a, XmlQualifiedName b); public static bool operator method ==( XmlQualifiedName a, XmlQualifiedName b); // Public Instance Methods public override method bool Equals(object other); // overrides object public override method int GetHashCode(); // overrides object public override method string ToString(); // overrides object }