System::Xml::XPath::XPathExpression::Compile metodo

XPathExpression::Compile(const String&) method

Compila l’espressione XPath specificata e restituisce un oggetto XPathExpression che rappresenta l’espressione XPath.

static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath)
ParametroTipoDescrizione
xpathconst String&Un’espressione XPath.

ReturnValue

Un oggetto XPathExpression.

Vedi anche

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

Compila l’espressione XPath specificata, con l’oggetto IXmlNamespaceResolver specificato per la risoluzione dei namespace, e restituisce un oggetto XPathExpression che rappresenta l’espressione XPath.

static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath, const SharedPtr<IXmlNamespaceResolver> &nsResolver)
ParametroTipoDescrizione
xpathconst String&Un’espressione XPath.
nsResolverconst SharedPtr<IXmlNamespaceResolver>&Un oggetto che implementa l’interfaccia IXmlNamespaceResolver per la risoluzione dei namespace.

ReturnValue

Un oggetto XPathExpression.

Vedi anche