XPath ClassXPath ClassXPath Class

Provides a typed class that represents a compiled XPath 2.0 expression.

Inheritance Hierarchy

Syntax

Public NotInheritable Class XPath
public sealed class XPath
public:
ref class XPath sealed
 
The XPathXPathXPath type exposes the following members.

Properties

 PropertyDescription
Public propertyStaticTypeStaticTypeStaticType Gets an XdmTypeXdmTypeXdmType which represents the result type of the expression as determined by static type analysis.

Top

Methods

 MethodDescription
Public methodstaticCompile (string)Compile (String)Compile (String^) Compiles an XPath expression and returns a XPathXPathXPath object that represents the expression using a new XmlNameTableXmlNameTableXmlNameTable and the default settings.
Public methodstaticCompile (string, XmlNameTable)Compile (String, XmlNameTable)Compile (String^, XmlNameTable^) Compiles an XPath expression and returns a XPathXPathXPath object that represents the expression using the default settings.
Public methodstaticCompile (string, XmlNameTable, IXmlNamespaceResolver)Compile (String, XmlNameTable, IXmlNamespaceResolver)Compile (String^, XmlNameTable^, IXmlNamespaceResolver^) Compiles an XPath expression and returns a XPathXPathXPath object that represents the expression with the specified in-scope namespaces.
Public methodstaticCompile (string, XPathSettings)Compile (String, XPathSettings)Compile (String^, XPathSettings^) Compiles an XPath expression and returns a XPathXPathXPath object that represents the expression.
Public methodstaticCompilePatternCompilePatternCompilePattern Compiles an XPath pattern and returns a XPathXPathXPath object that represents the expression.
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodEvaluate ()Evaluate ()Evaluate () Returns an IEnumerable<T>IEnumerable(Of T)IEnumerable<T> representing the result of evaluating the XPath expression.
Public methodEvaluate (XPathItem)Evaluate (XPathItem)Evaluate (XPathItem^) Returns an IEnumerable<T>IEnumerable(Of T)IEnumerable<T> representing the result of evaluating the XPath expression.
Public methodEvaluate (XPathItem, long, long)Evaluate (XPathItem, Long, Long)Evaluate (XPathItem^, long, long) Returns an IEnumerable<T>IEnumerable(Of T)IEnumerable<T> representing the result of evaluating the XPath expression.
Public methodEvaluate (DynamicContextSettings)Evaluate (DynamicContextSettings)Evaluate (DynamicContextSettings^) Returns an IEnumerable<T>IEnumerable(Of T)IEnumerable<T> representing the result of evaluating the XPath expression.
Public methodEvaluateToItem ()EvaluateToItem ()EvaluateToItem () Returns an XPathItemXPathItemXPathItem representing the result of evaluating the XPath expression, or null a null reference (Nothing in Visual Basic) nullptr if the expression returns the empty sequence.
Public methodEvaluateToItem (XPathItem)EvaluateToItem (XPathItem)EvaluateToItem (XPathItem^) Returns an XPathItemXPathItemXPathItem representing the result of evaluating the XPath expression, or null a null reference (Nothing in Visual Basic) nullptr if the expression returns the empty sequence.
Public methodEvaluateToItem (XPathItem, long, long)EvaluateToItem (XPathItem, Long, Long)EvaluateToItem (XPathItem^, long, long) Returns an XPathItemXPathItemXPathItem representing the result of evaluating the XPath expression, or null a null reference (Nothing in Visual Basic) nullptr if the expression returns the empty sequence.
Public methodEvaluateToItem (DynamicContextSettings)EvaluateToItem (DynamicContextSettings)EvaluateToItem (DynamicContextSettings^) Returns an XPathItemXPathItemXPathItem representing the result of evaluating the XPath expression, or null a null reference (Nothing in Visual Basic) nullptr if the expression returns the empty sequence.
Public methodExplainExplainExplain Writes the query execution plan to the specified XmlWriterXmlWriterXmlWriter.
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodToStringToStringToString Returns a stringStringString representing the expression execution plan. (Overrides Object.ToStringObject.ToStringObject::ToString)

Top