System::Xml::XPath::XPathExpression::Compile Methode
Inhalt
[
Ausblenden
]XPathExpression::Compile(const String&) method
Kompiliert den angegebenen XPath-Ausdruck und gibt ein XPathExpression-Objekt zurück, das den XPath-Ausdruck darstellt.
static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath)
| Parameter | Typ | Beschreibung |
|---|---|---|
| xpath | const String& | Ein XPath-Ausdruck. |
ReturnValue
Ein XPathExpression-Objekt.
Siehe auch
- Typedef SharedPtr
- Class XPathExpression
- Class String
- Class XPathExpression
- Namespace System::Xml::XPath
- Library Aspose.Font for C++
XPathExpression::Compile(const String&, const SharedPtr<IXmlNamespaceResolver>&) method
Kompiliert den angegebenen XPath-Ausdruck, wobei das angegebene IXmlNamespaceResolver-Objekt für die Namensauflösung verwendet wird, und gibt ein XPathExpression-Objekt zurück, das den XPath-Ausdruck darstellt.
static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath, const SharedPtr<IXmlNamespaceResolver> &nsResolver)
| Parameter | Typ | Beschreibung |
|---|---|---|
| xpath | const String& | Ein XPath-Ausdruck. |
| nsResolver | const SharedPtr<IXmlNamespaceResolver>& | Ein Objekt, das das IXmlNamespaceResolver-Interface für die Namensauflösung implementiert. |
ReturnValue
Ein XPathExpression-Objekt.
Siehe auch
- Typedef SharedPtr
- Class XPathExpression
- Class String
- Class IXmlNamespaceResolver
- Class XPathExpression
- Namespace System::Xml::XPath
- Library Aspose.Font for C++