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.

適用於