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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.