O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

XmlQualifiedName

Synopsis

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
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required