XmlQueryRuntime.FindIndex(XPathNavigator, Int32, XmlILIndex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.