Upravit

Sdílet prostřednictvím


XmlQualifiedName Class

Definition

Represents an XML qualified name.

public ref class XmlQualifiedName
public class XmlQualifiedName
[System.Serializable]
public class XmlQualifiedName
type XmlQualifiedName = class
[<System.Serializable>]
type XmlQualifiedName = class
Public Class XmlQualifiedName
Inheritance
XmlQualifiedName
Attributes

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, String)

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

XmlQualifiedName(String)

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

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.

GetHashCode()

Returns the hash code for the XmlQualifiedName.

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.

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