System::Xml::XPath::XPathExpression class

XPathExpression class

Provides a typed class that represents a compiled XPath expression.

class XPathExpression : public System::Object

Methods

MethodDescription
virtual AddSort(SharedPtr<Object>, SharedPtr<Collections::Generic::IComparer<SharedPtr<Object>>>)When overridden in a derived class, sorts the nodes selected by the XPath expression according to the specified IComparer object.
virtual AddSort(SharedPtr<Object>, XmlSortOrder, XmlCaseOrder, String, XmlDataType)When overridden in a derived class, sorts the nodes selected by the XPath expression according to the supplied parameters.
virtual Clone()When overridden in a derived class, returns a clone of this XPathExpression.
static Compile(const String&)Compiles the XPath expression specified and returns an XPathExpression object representing the XPath expression.
static Compile(const String&, const SharedPtr<IXmlNamespaceResolver>&)Compiles the specified XPath expression, with the IXmlNamespaceResolver object specified for namespace resolution, and returns an XPathExpression object that represents the XPath expression.
virtual get_Expression()When overridden in a derived class, gets a string representation of the XPathExpression.
virtual get_ReturnType()When overridden in a derived class, gets the result type of the XPath expression.
virtual SetContext(SharedPtr<XmlNamespaceManager>)When overridden in a derived class, specifies the XmlNamespaceManager object to use for namespace resolution.
virtual SetContext(SharedPtr<IXmlNamespaceResolver>)When overridden in a derived class, specifies the IXmlNamespaceResolver object to use for namespace resolution.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

See Also