Breyta

Deila með


XNodeDocumentOrderComparer Class

Definition

Contains functionality to compare nodes for their document order. This class cannot be inherited.

public ref class XNodeDocumentOrderComparer sealed : System::Collections::Generic::IComparer<System::Xml::Linq::XNode ^>, System::Collections::IComparer
public sealed class XNodeDocumentOrderComparer : System.Collections.Generic.IComparer<System.Xml.Linq.XNode>, System.Collections.IComparer
type XNodeDocumentOrderComparer = class
    interface IComparer<XNode>
    interface IComparer
type XNodeDocumentOrderComparer = class
    interface IComparer
    interface IComparer<XNode>
Public NotInheritable Class XNodeDocumentOrderComparer
Implements IComparer, IComparer(Of XNode)
Inheritance
XNodeDocumentOrderComparer
Implements

Remarks

This class implements IComparer and IComparer<XNode>.

We recommend that instead of using this class directly, you use the InDocumentOrder method. This class is used internally by that method.

Constructors

XNodeDocumentOrderComparer()

Initializes a new instance of the XNodeDocumentOrderComparer class.

Methods

Compare(XNode, XNode)

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IComparer.Compare(Object, Object)

Compares two nodes to determine their relative document order.

Applies to

See also