System::Xml::XPath::XPathNavigator::SelectDescendants 方法
XPathNavigator::SelectDescendants(String, String, bool) method
选择当前节点的所有具有指定本地名称和命名空间 URI 的后代节点。
virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectDescendants(String name, String namespaceURI, bool matchSelf)
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | String | 后代节点的本地名称。 |
| namespaceURI | String | 后代节点的命名空间 URI。 |
| matchSelf | bool | true 表示在选择中包含上下文节点;否则为 false。 |
ReturnValue
一个包含所选节点的 XPathNodeIterator。
另见
- Typedef SharedPtr
- Class XPathNodeIterator
- Class String
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++
XPathNavigator::SelectDescendants(XPathNodeType, bool) method
选择当前节点的所有后代节点,这些节点的 XPathNodeType 匹配。
virtual SharedPtr<XPathNodeIterator> System::Xml::XPath::XPathNavigator::SelectDescendants(XPathNodeType type, bool matchSelf)
| 参数 | 类型 | 描述 |
|---|---|---|
| type | XPathNodeType | 后代节点的 XPathNodeType。 |
| matchSelf | bool | true 表示在选择中包含上下文节点;否则为 false。 |
ReturnValue
一个包含所选节点的 XPathNodeIterator。
另见
- Typedef SharedPtr
- Class XPathNodeIterator
- Enum XPathNodeType
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++