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

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

**Returns:** Returns true if this instance is equal to the specified VbaModuleAttribute object; otherwise, false.

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

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

---

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

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

**Returns:** Returns true if this instance is equal to the specified VbaModuleAttribute object; otherwise, false.

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

| Parameter | Description |
| --- | --- |
| other | The specified VbaModuleAttribute object to compare with this instance. |

