Méthode System::Xml::XPath::XPathExpression::Compile

XPathExpression::Compile(const String&) method

Compile l’expression XPath spécifiée et renvoie un objet XPathExpression représentant l’expression XPath.

static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath)
ParamètreTypeDescription
xpathconst String&Une expression XPath.

ReturnValue

Un objet XPathExpression.

Voir aussi

XPathExpression::Compile(const String&, const SharedPtr<IXmlNamespaceResolver>&) method

Compile l’expression XPath spécifiée, avec l’objet IXmlNamespaceResolver indiqué pour la résolution des espaces de noms, et renvoie un objet XPathExpression qui représente l’expression XPath.

static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath, const SharedPtr<IXmlNamespaceResolver> &nsResolver)
ParamètreTypeDescription
xpathconst String&Une expression XPath.
nsResolverconst SharedPtr<IXmlNamespaceResolver>&Un objet qui implémente l’interface IXmlNamespaceResolver pour la résolution des espaces de noms.

ReturnValue

Un objet XPathExpression.

Voir aussi