XmlQualifiedName XmlQualifiedName XmlQualifiedName XmlQualifiedName Class

Definition

Represents an XML qualified name.

public ref class XmlQualifiedName
public class XmlQualifiedName
type XmlQualifiedName = class
Public Class XmlQualifiedName
Inheritance
XmlQualifiedNameXmlQualifiedNameXmlQualifiedNameXmlQualifiedName

Examples

For an example using the XmlQualifiedName class, see XmlSchemaAll.

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

Constructors

XmlQualifiedName() XmlQualifiedName() XmlQualifiedName() XmlQualifiedName()

Initializes a new instance of the XmlQualifiedName class.

XmlQualifiedName(String) XmlQualifiedName(String) XmlQualifiedName(String) XmlQualifiedName(String)

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

XmlQualifiedName(String, String) XmlQualifiedName(String, String) XmlQualifiedName(String, String) XmlQualifiedName(String, String)

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

Fields

Empty Empty Empty Empty

Provides an empty XmlQualifiedName.

Properties

IsEmpty IsEmpty IsEmpty IsEmpty

Gets a value indicating whether the XmlQualifiedName is empty.

Name Name Name Name

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

Namespace Namespace Namespace Namespace

Gets a string representation of the namespace of the XmlQualifiedName.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified XmlQualifiedName object is equal to the current XmlQualifiedName object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for the XmlQualifiedName.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns the string value of the XmlQualifiedName.

ToString(String, String) ToString(String, String) ToString(String, String) ToString(String, String)

Returns the string value of the XmlQualifiedName.

Operators

Equality(XmlQualifiedName, XmlQualifiedName) Equality(XmlQualifiedName, XmlQualifiedName) Equality(XmlQualifiedName, XmlQualifiedName) Equality(XmlQualifiedName, XmlQualifiedName)

Compares two XmlQualifiedName objects.

Inequality(XmlQualifiedName, XmlQualifiedName) Inequality(XmlQualifiedName, XmlQualifiedName) Inequality(XmlQualifiedName, XmlQualifiedName) Inequality(XmlQualifiedName, XmlQualifiedName)

Compares two XmlQualifiedName objects.

Applies to