System::Xml::XPath::XPathExpression::Compile メソッド

XPathExpression::Compile(const String&) method

指定された XPath 式をコンパイルし、その XPath 式を表す XPathExpression オブジェクトを返します。

static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath)
パラメーター説明
xpathconst String&XPath 式。

ReturnValue

XPathExpression オブジェクトです。

参照

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

指定された XPath 式をコンパイルし、名前空間解決のために指定された IXmlNamespaceResolver オブジェクトを使用し、XPath 式を表す XPathExpression オブジェクトを返します。

static SharedPtr<XPathExpression> System::Xml::XPath::XPathExpression::Compile(const String &xpath, const SharedPtr<IXmlNamespaceResolver> &nsResolver)
パラメーター説明
xpathconst String&XPath 式。
nsResolverconst SharedPtr<IXmlNamespaceResolver>&名前空間解決のために IXmlNamespaceResolver インターフェイスを実装するオブジェクトです。

ReturnValue

XPathExpression オブジェクトです。

参照