XmlQualifiedName Class

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
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 XmlQualifiedName() Initializes a new instance of the XmlQualifiedName class.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 XmlQualifiedName(String) Initializes a new instance of the XmlQualifiedName class with the specified name.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 XmlQualifiedName(String, String) Initializes a new instance of the XmlQualifiedName class with the specified name and namespace.

Top

Properties

  Name Description
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 IsEmpty Gets a value indicating whether the XmlQualifiedName is empty.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Name Gets a string representation of the qualified name of the XmlQualifiedName.
Public propertySupported by Silverlight for Windows PhoneSupported by Xbox 360 Namespace Gets a string representation of the namespace of the XmlQualifiedName.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals Determines whether the specified XmlQualifiedName object is equal to the current XmlQualifiedName object. (Overrides Object.Equals(Object).)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 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.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Returns the hash code for the XmlQualifiedName. (Overrides Object.GetHashCode().)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString() Returns the string value of the XmlQualifiedName. (Overrides Object.ToString().)
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(String, String) Returns the string value of the XmlQualifiedName.

Top

Operators

  Name Description
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equality Compares two XmlQualifiedName objects.
Public operatorStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Inequality Compares two XmlQualifiedName objects.

Top

Fields

  Name Description
Public fieldStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Empty Provides an empty XmlQualifiedName.

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.

See Also

Reference