## XPathNavigator::IsSamePosition method


当在派生类中被重写时，确定当前 [XPathNavigator](../) 是否位于与指定的 [XPathNavigator](../) 相同的位置。

```cpp
virtual bool System::Xml::XPath::XPathNavigator::IsSamePosition(SharedPtr<XPathNavigator> other)=0
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| other | SharedPtr\<XPathNavigator\> | 用于与此 [XPathNavigator](../) 进行比较的 [XPathNavigator](../)。 |

### ReturnValue

**true** if the two [XPathNavigator](../) objects have the same position; otherwise, **false**.

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XPathNavigator](../)
* Class [XPathNavigator](../)
* Namespace [System::Xml::XPath](../../)
* Library [Aspose.Page for C++](../../../)
