QName StructureQName StructureQName Structure

Represents an XML qualified name consisting of a prefix, local name and namespace URI. The corresponding XML Schema type is xs:QName.

Syntax

Public NotInheritable  QName _
        Implements IEquatable(Of QName)
public sealed  QName : IEquatable<QName>
public:
value class QName sealed : IEquatable<QName>
 
The QNameQNameQName type exposes the following members.

Constructors

 ConstructorDescription
Public methodQName (string, string, string)QName (String, String, String)QName (String^, String^, String^) Initializes a new instance of the QNameQNameQName structure with the specified prefix, local name and namespace URI.
Public methodQName (XmlQualifiedName)QName (XmlQualifiedName)QName (XmlQualifiedName^) Initializes a new instance of the QNameQNameQName structure from an XmlQualifiedNameXmlQualifiedNameXmlQualifiedName instance.

Top

Properties

 PropertyDescription
Public propertyLocalNameLocalNameLocalName Gets the local part of the qualified name.
Public propertyNamespaceNamespaceNamespace Gets the namespace URI of the qualified name.
Public propertyPrefixPrefixPrefix Gets the prefix of the qualified name.

Top

Methods

 MethodDescription
Public methodEquals (object)Equals (Object)Equals (object^) Determines whether this instance is equal to a specified object. (Overrides ValueType.EqualsValueType.EqualsValueType::Equals)
Public methodEquals (QName)Equals (QName)Equals (QName) Indicates whether this instance is equal to another QNameQNameQName.
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetHashCodeGetHashCodeGetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCodeValueType.GetHashCodeValueType::GetHashCode)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodstaticSplitSplitSplit Splits the specified lexical representation of an xs:QName into a prefix and local name.
Public methodToStringToStringToString Returns the canonical lexical representation of this QNameQNameQName. (Overrides ValueType.ToStringValueType.ToStringValueType::ToString)

Top

Operators

 OperatorDescription
Public operatorstaticEqualityEqualityEquality Indicates whether a specified QNameQNameQName is equal to another specified QNameQNameQName.
Public operatorstaticInequalityInequalityInequality Indicates whether a specified QNameQNameQName is not equal to another specified QNameQNameQName.

Top