Equals Method
Collapse the table of content
Expand the table of content

XName.Equals Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the specified XName is equal to this XName.

Namespace:  System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

'Declaration
Public Overrides Function Equals ( _
	obj As Object _
) As Boolean

Parameters

obj
Type: System.Object
The XName to compare to the current XName.

Return Value

Type: System.Boolean
true if the specified XName is equal to the current XName; otherwise false.

For two XName objects to be equal, they must have the same expanded name.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft