XmlQualifiedName Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) |
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. |
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기