PrecedingSiblingIterator.Create(XPathNavigator, XmlNavigatorFilter) 方法

定义

初始化 PrecedingSiblingIteratorInitializes the PrecedingSiblingIterator.

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

public:
 void Create(System::Xml::XPath::XPathNavigator ^ context, System::Xml::Xsl::Runtime::XmlNavigatorFilter ^ filter);
public void Create (System.Xml.XPath.XPathNavigator context, System.Xml.Xsl.Runtime.XmlNavigatorFilter filter);
member this.Create : System.Xml.XPath.XPathNavigator * System.Xml.Xsl.Runtime.XmlNavigatorFilter -> unit
Public Sub Create (context As XPathNavigator, filter As XmlNavigatorFilter)

参数

context
XPathNavigator

从其开始遍历节点的节点。The node from which you start traversing the nodes.

filter
XmlNavigatorFilter

使您能够基于名称来筛选节点。Enables you to filter nodes based on the name.

适用于