System::Xml::XPath::XPathExpression::SetContext 方法
XPathExpression::SetContext(SharedPtr<IXmlNamespaceResolver>) method
当在派生类中重写时,指定用于命名空间解析的 IXmlNamespaceResolver 对象。
virtual void System::Xml::XPath::XPathExpression::SetContext(SharedPtr<IXmlNamespaceResolver> nsResolver)=0
| 参数 | 类型 | 描述 |
|---|---|---|
| nsResolver | SharedPtr<IXmlNamespaceResolver> | 实现 IXmlNamespaceResolver 接口以用于命名空间解析的对象。 |
另见
- Typedef SharedPtr
- Class IXmlNamespaceResolver
- Class XPathExpression
- Namespace System::Xml::XPath
- Library Aspose.Font for C++
XPathExpression::SetContext(SharedPtr<XmlNamespaceManager>) method
在派生类中重写时,指定用于命名空间解析的 XmlNamespaceManager 对象。
virtual void System::Xml::XPath::XPathExpression::SetContext(SharedPtr<XmlNamespaceManager> nsManager)=0
| 参数 | 类型 | 描述 |
|---|---|---|
| nsManager | SharedPtr<XmlNamespaceManager> | 用于命名空间解析的 XmlNamespaceManager 对象。 |
另见
- Typedef SharedPtr
- Class XmlNamespaceManager
- Class XPathExpression
- Namespace System::Xml::XPath
- Library Aspose.Font for C++