public class XmlQualifiedName
|
Because prefixes are only required when XML is persisted or read, they are irrelevant for XmlQualifiedName objects. This class assumes that prefixes are irrelevant. It is the responsibility of the user to ensure the local name does not contain a ":".
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the XmlQualifedName class. |
ctor #2 | Overloaded:.ctor(string name) Initializes a new instance of the XmlQualifedName class with the specified name. |
ctor #3 | Overloaded:.ctor(string name, string ns) Initializes a new instance of the XmlQualifedName class with the specified name and namespace. |
Empty | Provides an empty XmlQualifiedName. |
IsEmpty | Read-only |
Name | Read-only Gets a string representation of the qualified name of the XmlQualifiedName. |
Namespace | Read-only Gets a string representation of the namespace of the XmlQualifiedName. |
Equals | Overridden: Checks if the specified XmlQualifiedName is the same instance object as this object. |
GetHashCode | Overridden: Returns the hash code for the XmlQualifiedName. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString | Overloaded:ToString() Overridden: Returns the string value of the XmlQualifiedName. |
ToString | Overloaded:ToString(string name, string ns) Returns the string value of the XmlQualifiedName. |
op_Equality | Compares two XmlQualifiedName objects. |
op_Inequality | Compares two XmlQualifiedName objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public XmlQualifiedName(); |
public XmlQualifiedName( |
name
name
ns
public static readonly XmlQualifiedName Empty;
|
XmlQualifiedName Qname = new XmlQualifiedName ("item","http://www.contoso.com/"); Qname.IsEmpty; //Returns false. Qname.Empty; //Sets the namespace and local name to String.Empty. Qname.IsEmpty; //Returns true.
public bool IsEmpty {get;}
|
public string Name {get;}
|
public string Namespace {get;}
|
other
~XmlQualifiedName(); |
public override int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public static bool operator ==( |
a
b
public static bool operator !=( |
a
b
public override string ToString(); |
name
ns