XmlQualifiedName Class

 

Represents an XML qualified name.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

System.Object
  System.Xml.XmlQualifiedName

[SerializableAttribute]
public class XmlQualifiedName

NameDescription
System_CAPS_pubmethodXmlQualifiedName()

Initializes a new instance of the XmlQualifiedName class.

System_CAPS_pubmethodXmlQualifiedName(String)

Initializes a new instance of the XmlQualifiedName class with the specified name.

System_CAPS_pubmethodXmlQualifiedName(String, String)

Initializes a new instance of the XmlQualifiedName class with the specified name and namespace.

NameDescription
System_CAPS_pubpropertyIsEmpty

Gets a value indicating whether the XmlQualifiedName is empty.

System_CAPS_pubpropertyName

Gets a string representation of the qualified name of the XmlQualifiedName.

System_CAPS_pubpropertyNamespace

Gets a string representation of the namespace of the XmlQualifiedName.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified XmlQualifiedName object is equal to the current XmlQualifiedName object. (Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the XmlQualifiedName.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the string value of the XmlQualifiedName.(Overrides Object.ToString().)

System_CAPS_pubmethodSystem_CAPS_staticToString(String, String)

Returns the string value of the XmlQualifiedName.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEmpty

Provides an empty XmlQualifiedName.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(XmlQualifiedName, XmlQualifiedName)

Compares two XmlQualifiedName objects.

System_CAPS_puboperatorSystem_CAPS_staticInequality(XmlQualifiedName, XmlQualifiedName)

Compares two XmlQualifiedName objects.

An XML qualified name is a namespace qualified local name in the format of namespace:localname.

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 ":".

For an example using the XmlQualifiedName class, see XmlSchemaAll.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: