XPathExpression.AddSort Method (Object, IComparer)

When overridden in a derived class, sorts the nodes selected by the XPath expression according to the specified IComparer object.

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

public abstract void AddSort(
	Object expr,
	IComparer comparer
)

Parameters

expr
Type: System.Object
An object representing the sort key. This can be the string value of the node or an XPathExpression object with a compiled XPath expression.
comparer
Type: System.Collections.IComparer
An IComparer object that provides the specific data type comparisons for comparing two objects for equivalence.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: