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

Returns a value indicating whether this instance is equal to a specified instance of the Resource class.

**Returns:** True if the specified instance of the Resource class has the same Uid value as this instance; otherwise, false .

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

| Parameter | Description |
| --- | --- |
| other | The specified instance of the Resource class 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 object is a Resource that has the same Uid value as this instance; otherwise, false .

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

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

