Share via


XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Método

Definição

Retorna o índice com a ID especificada se ele já foi criado no documento especificado e retorna true. Caso contrário, cria um índice novo e vazio e retorna 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

Parâmetros

context
XPathNavigator

O documento de contexto.

indexId
Int32

A ID de índice a ser pesquisada.

index
XmlILIndex

O índice retornado.

Retornos

Uma instância da classe XmlILIndex.

Aplica-se a