XName.IEquatable(XName).Equals Method

Indicates whether the current XName is equal to the specified XName.

Namespace:  System.Xml.Linq
Assemblies:   System.Xml.XDocument (in System.Xml.XDocument.dll)
  System.Xml.Linq (in System.Xml.Linq.dll)

private abstract Equals : 
        other:XName -> bool  
private override Equals : 
        other:XName -> bool

Parameters

other
Type: System.Xml.Linq.XName

The XName to compare with this XName.

Return Value

Type: System.Boolean
true if this XName is equal to the specified XName, otherwise false.

Implements

IEquatable(T).Equals(T)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library
Show: