XmlQualifiedName Class

Definition

Represents an XML qualified name.

public class XmlQualifiedName
Inheritance
XmlQualifiedName

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()

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.

Fields

Empty

Provides an empty XmlQualifiedName.

Properties

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.

Methods

Equals(Object)

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

Equals(Object, Object) Inherited from Object
GetHashCode()

Returns the hash code for the XmlQualifiedName.

GetType() Inherited from Object
MemberwiseClone() Inherited from Object
ReferenceEquals(Object, Object) Inherited from Object
ToString()

Returns the string value of the XmlQualifiedName.

ToString(String, String)

Returns the string value of the XmlQualifiedName.

Operators

Equality(XmlQualifiedName, XmlQualifiedName)

Compares two XmlQualifiedName objects.

Inequality(XmlQualifiedName, XmlQualifiedName)

Compares two XmlQualifiedName objects.

Applies to