Contains functionality to compare nodes for their document order. This class cannot be inherited.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Thetype exposes the following members.
|Compare||Compares two nodes to determine their relative document order.|
|Equals(Object)||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|GetHashCode||Serves as the default hash function. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
This class implements IComparer and IComparer<XNode>.
We recommend that instead of using this class directly, you use the InDocumentOrder<T> method. This class is used internally by that method.
.NET FrameworkSupported in: 4.6, 4.5, 4, 3.5
.NET Framework Client ProfileSupported in: 4, 3.5 SP1
XNA FrameworkSupported in: 3.0
Portable Class LibrarySupported in: Portable Class Library
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8