## ValueTask::Equals(System::SharedPtr\<System::Object\>) method


Determines whether this instance equals another object.

```cpp
bool System::Threading::Tasks::ValueTask::Equals(System::SharedPtr<System::Object> obj) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| obj | System::SharedPtr\<System::Object\> | The object to compare with this instance. |

### ReturnValue

bool True if the object is a [ValueTask](../) and equal to this instance; otherwise, false.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [ValueTask](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.PDF for C++](../../../)
## ValueTask::Equals(ValueTask) method


Determines whether this instance equals another [ValueTask](../) instance.

```cpp
bool System::Threading::Tasks::ValueTask::Equals(ValueTask other) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| other | ValueTask | The other [ValueTask](../) to compare with this instance. |

### ReturnValue

bool True if the instances are equal; otherwise, false.

## See Also

* Class [ValueTask](../)
* Class [ValueTask](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.PDF for C++](../../../)
