XmlQualifiedName Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Represents an XML qualified name.
Inheritance Hierarchy
System.Object
System.Xml.XmlQualifiedName
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Syntax
'Declaration
Public Class XmlQualifiedName
public class XmlQualifiedName
The XmlQualifiedName type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XmlQualifiedName() | Initializes a new instance of the XmlQualifiedName class. | |
XmlQualifiedName(String) | Initializes a new instance of the XmlQualifiedName class with the specified name. | |
XmlQualifiedName(String, String) | Initializes a new instance of the XmlQualifiedName class with the specified name and namespace. |
Top
Properties
Name | Description | |
---|---|---|
IsEmpty | Gets a value indicating whether the XmlQualifiedName is empty. | |
Name | Gets a string representation of the qualified name of the XmlQualifiedName. | |
Namespace | Gets a string representation of the namespace of the XmlQualifiedName. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified XmlQualifiedName object is equal to the current XmlQualifiedName object. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for the XmlQualifiedName. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString() | Returns the string value of the XmlQualifiedName. (Overrides Object.ToString().) | |
ToString(String, String) | Returns the string value of the XmlQualifiedName. |
Top
Operators
Name | Description | |
---|---|---|
Equality | Compares two XmlQualifiedName objects. | |
Inequality | Compares two XmlQualifiedName objects. |
Top
Remarks
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 ":".
Version Information
Silverlight
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
XNA Framework
Supported in: Xbox 360, Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.