Name
XmlQualifiedName
Synopsis
This class represents a namespace-qualified local name. This looks like namespace:name
within a document. An XmlQualifiedName
object is constructed with the element’s name
and its namespace as string arguments. The namespace field may
be empty, in which case the default namespace of the document
is assumed.
Public Class XmlQualifiedName ' Public Constructors Public Sub New() Public Sub New( ByVal name As String) Public Sub New( ByVal name As String, ByVal ns As String) ' Public Shared Fields Public Shared ReadOnly Empty As XmlQualifiedName ' Public Instance Properties Public ReadOnly Property IsEmpty As Boolean Public ReadOnly Property Name As String Public ReadOnly Property Namespace As String ' Public Shared Methods Public Shared Function ToString(ByVal name As String, ByVal ns As String) As String Public Shared Boolean operator Sub !=( ByVal a As XmlQualifiedName, ByVal b As XmlQualifiedName) Public Shared Boolean operator Sub ==( ByVal a As XmlQualifiedName, ByVal b As XmlQualifiedName) ' Public Instance Methods Overrides Public Function Equals( ByVal other As Object) As Boolean Overrides Public Function GetHashCode() As Integer Overrides Public Function ToString() As String End Class
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.