Condividi tramite


XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Metodo

Definizione

Restituisce l'indice con l'ID specificato, se è già stato creato sul documento specificato, e restituisce true. In caso contrario crea un nuovo indice vuoto e restituisce 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

Parametri

context
XPathNavigator

Contesto del documento.

indexId
Int32

ID dell'indice di cui eseguire la ricerca.

index
XmlILIndex

Indice restituito.

Restituisce

Istanza della classe XmlILIndex.

Si applica a