XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Metoda

Definicja

Zwraca indeks o określonym IDENTYFIKATORze, jeśli został już utworzony w określonym dokumencie i zwraca wartość true . W przeciwnym razie tworzy nowy, pusty indeks i zwraca false .

public:
 bool FindIndex(System::Xml::XPath::XPathNavigator ^ context, int indexId, [Runtime::InteropServices::Out] System::Xml::Xsl::Runtime::XmlILIndex ^ % index);
public bool FindIndex (System.Xml.XPath.XPathNavigator context, int indexId, out System.Xml.Xsl.Runtime.XmlILIndex index);
member this.FindIndex : System.Xml.XPath.XPathNavigator * int * XmlILIndex -> bool
Public Function FindIndex (context As XPathNavigator, indexId As Integer, ByRef index As XmlILIndex) As Boolean

Parametry

context
XPathNavigator

Dokument kontekstowy.

indexId
Int32

Identyfikator indeksu do wyszukania.

index
XmlILIndex

Zwrócony indeks.

Zwraca

Boolean

Wystąpienie klasy XmlILIndex.

Dotyczy