## DateTimeOffset::EqualsExact(const DateTimeOffset\&) const method


检查两个 [DateTimeOffset](../) 对象是否表示相同的时间点且具有相同的偏移量。

```cpp
bool System::DateTimeOffset::EqualsExact(const DateTimeOffset &other) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| other | const DateTimeOffset\& | 用于比较的 [Object](../../object/)。 |

### ReturnValue

如果当前对象与 **other** 完全相等则为 true，否则为 false。

## 另见

* Class [DateTimeOffset](../)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## DateTimeOffset::EqualsExact(const SharedPtr\<Object\>\&) const method


检查两个 [DateTimeOffset](../) 对象是否表示相同的时间点且具有相同的偏移量。

```cpp
bool System::DateTimeOffset::EqualsExact(const SharedPtr<Object> &obj) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| obj | const SharedPtr\<Object\>\& | 用于比较的 [Object](../../object/)。 |

### ReturnValue

如果当前对象与 **obj** 完全相等则为 true，否则为 false。

## 另见

* Typedef [SharedPtr](../../sharedptr/)
* Class [Object](../../object/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
