AncestorIterator.Create(XPathNavigator, XmlNavigatorFilter, Boolean) Metoda

Definicja

Inicjuje element AncestorIterator.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Parametry

context
XPathNavigator

Węzeł, z którego rozpoczynasz przechodzenie przez elementy podrzędne.

filter
XmlNavigatorFilter

Wystąpienie XmlNavigatorFilter klasy, które umożliwia filtrowanie węzłów na podstawie nazwy. Aby uzyskać więcej informacji, zobacz XmlNavigatorFilter.

orSelf
Boolean

true jeśli chcesz context , aby węzeł został zwrócony jako część iteracji i nie został odfiltrowany.

Dotyczy