XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Metoda

Definice

Vrátí index se zadaným ID, pokud již byl vytvořen v zadaném dokumentu, a vrátí .true V opačném případě vytvoří nový prázdný index a vrátí .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

Kontextový dokument.

indexId
Int32

ID indexu, které chcete vyhledat.

index
XmlILIndex

Vrácený index.

Návraty

Instance třídy XmlILIndex

Platí pro