Properties.Equals Method
Overloads
| Name | Description |
|---|---|
Equals(Properties) |
Returns true if this collection equals another collection, false otherwise. Collections are equal if they have the same property keys, and the values for each key are single or multiple valued to match, have the same type and are equal, using Equals(Object) for single values and element-wise for multiple values. |
Equals(Object) |
Determines whether the specified object is equal to the current object. |
Equals(Properties)
Returns true if this collection equals another collection, false otherwise. Collections are equal if they have the same property keys, and the values for each key are single or multiple valued to match, have the same type and are equal, using Equals(Object) for single values and element-wise for multiple values.
public new bool Equals(Properties? other);
Parameters
| Name | Type | Description |
|---|---|---|
other |
Properties |
The collection to compare against. |
Returns
true if the collections are equal, false otherwise.
Equals(Object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj);
Parameters
| Name | Type | Description |
|---|---|---|
obj |
Object |
The object to compare with the current object. |
Returns
true if the specified object is equal to the current object; otherwise, false.