語言

XsltConvert.EnsureNodeSet(IList<XPathItem>) 方法

定義

確保指定的物件序列不是結果樹片段,且可轉換為節點集合。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 static System::Collections::Generic::IList<System::Xml::XPath::XPathNavigator ^> ^ EnsureNodeSet(System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ listItems);
public static System.Collections.Generic.IList<System.Xml.XPath.XPathNavigator> EnsureNodeSet(System.Collections.Generic.IList<System.Xml.XPath.XPathItem> listItems);
static member EnsureNodeSet : System.Collections.Generic.IList<System.Xml.XPath.XPathItem> -> System.Collections.Generic.IList<System.Xml.XPath.XPathNavigator>
Public Shared Function EnsureNodeSet (listItems As IList(Of XPathItem)) As IList(Of XPathNavigator)

參數

listItems
IList<XPathItem>

一連串 XPathItem 的實例。

傳回

一連串 XPathNavigator 的實例。

適用於