System::Xml::XPath::XPathNavigator::MoveToAttribute 方法
XPathNavigator::MoveToAttribute method
将 XPathNavigator 移动到具有匹配本地名称和命名空间 URI 的属性。
virtual bool System::Xml::XPath::XPathNavigator::MoveToAttribute(String localName, String namespaceURI)
| 参数 | 类型 | 描述 |
|---|---|---|
| localName | String | 属性的本地名称。 |
| namespaceURI | String | 属性的命名空间 URI;空命名空间时为 nullptr。 |
ReturnValue
true if the XPathNavigator is successful moving to the attribute; otherwise, false. If false, the position of the XPathNavigator is unchanged.
另见
- Class String
- Class XPathNavigator
- Namespace System::Xml::XPath
- Library Aspose.Font for C++