Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Xml.​XmlQualifiedName

Assembly: System.Xml.ReaderWriter

Inheritance: object → XmlQualifiedName

Represents an XML qualified name.

Fields and Constants

public static readonly XmlQualifiedName
Empty
Provides an empty <see cref="T:System.Xml.XmlQualifiedName" /> .

Properties

public bool
IsEmpty
Gets a value indicating whether the <see cref="T:System.Xml.XmlQualifiedName" /> is empty.
public string
Name
Gets a string representation of the qualified name of the <see cref="T:System.Xml.XmlQualifiedName" /> .
public string
Namespace
Gets a string representation of the namespace of the <see cref="T:System.Xml.XmlQualifiedName" /> .

Methods

public bool
Equals​(object other)
Determines whether the specified <see cref="T:System.Xml.XmlQualifiedName" /> object is equal to the current <see cref="T:System.Xml.XmlQualifiedName" /> object.
Returns <see langword="true" /> if the two are the same instance object; otherwise, <see langword="false" /> .
other The <see cref="T:System.Xml.XmlQualifiedName" /> to compare.
public int
GetHashCode​()
Returns the hash code for the <see cref="T:System.Xml.XmlQualifiedName" /> .
Returns A hash code for this object.
public string
ToString​()
Returns the string value of the <see cref="T:System.Xml.XmlQualifiedName" /> .
Returns The string value of the <see cref="T:System.Xml.XmlQualifiedName" /> in the format of <see langword="namespace:localname" /> . If the object does not have a namespace defined, this method returns just the local name.
public static string
ToString​(string name, string ns)
Returns the string value of the <see cref="T:System.Xml.XmlQualifiedName" /> .
Returns The string value of the <see cref="T:System.Xml.XmlQualifiedName" /> in the format of <see langword="namespace:localname" /> . If the object does not have a namespace defined, this method returns just the local name.
name The name of the object.
ns The namespace of the object.
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object