XmlQueryNodeSequence.DocOrderDistinct(IComparer<XPathNavigator>) 方法

定义

返回一个序列,该序列包含此缓存中的所有非重复节点(按文档顺序排序)。Returns a sequence that contains all the distinct nodes in this cache, sorted in document order.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 System::Xml::Xsl::Runtime::XmlQueryNodeSequence ^ DocOrderDistinct(System::Collections::Generic::IComparer<System::Xml::XPath::XPathNavigator ^> ^ comparer);
public System.Xml.Xsl.Runtime.XmlQueryNodeSequence DocOrderDistinct (System.Collections.Generic.IComparer<System.Xml.XPath.XPathNavigator> comparer);
member this.DocOrderDistinct : System.Collections.Generic.IComparer<System.Xml.XPath.XPathNavigator> -> System.Xml.Xsl.Runtime.XmlQueryNodeSequence
Public Function DocOrderDistinct (comparer As IComparer(Of XPathNavigator)) As XmlQueryNodeSequence

参数

comparer
IComparer<XPathNavigator>

一个 XPathNavigator 实例的序列。A sequence of XPathNavigator instances.

返回

XmlQueryNodeSequence

一个 XmlQueryNodeSequence 类实例的序列。A sequence of XmlQueryNodeSequence class instances.

适用于