
## Equals (1 of 2) {#equals_1}

Returns a value indicating whether this instance is equal to a specified object.

**Returns:** True if the specified object is a TaskLink that has the same predecessor and successor as this instance; otherwise, false .

```cpp
Equals(System::SharedPtr< System::Object > obj)
```

| Parameter | Description |
| --- | --- |
| obj | The object to compare with this instance. |

---

## Equals (2 of 2) {#equals_2}

Returns a value indicating whether this instance is equal to a specified object.

**Returns:** True if the specified instance of the TaskLink class has the same predecessor and successor tasks as this instance; otherwise, false .

```cpp
Equals(System::SharedPtr< TaskLink > other)
```

| Parameter | Description |
| --- | --- |
| other | The specified instance of the TaskLink class to compare with this instance. |

