Redigera

Dela via


XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Method

Definition

Returns the index with the specified ID if it has already been created over the specified document, and returns true. Otherwise, creates a new, empty index and returns 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

Parameters

context
XPathNavigator

The context document.

indexId
Int32

The index ID to look for.

index
XmlILIndex

The returned index.

Returns

An instance of the XmlILIndex class.

Applies to