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

Definição

Devolve o índice com o ID especificado se já tiver sido criado sobre o documento especificado, e devolve true. Caso contrário, cria um novo índice 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

O ID do índice a procurar.

index
XmlILIndex

O índice devolvido.

Devoluções

Uma instância da XmlILIndex classe.

Aplica-se a