XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l’index avec l’ID spécifié s’il a déjà été créé sur le document spécifié et retourne true. Sinon, crée un index vide et retourne 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
Paramètres
- context
- XPathNavigator
Document de contexte.
- indexId
- Int32
ID d’index à rechercher.
- index
- XmlILIndex
Index retourné.
Retours
Instance de la classe XmlILIndex.