SourcePosition.Equals Method ​
Overloads ​
| Name | Description |
|---|---|
Equals(SourcePosition) | Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | Determines whether the specified object is equal to the current object. |
Equals(SourcePosition) ​
Indicates whether the current object is equal to another object of the same type.
c#
public new abstract bool Equals(SourcePosition? other);Parameters ​
| Name | Type | Description |
|---|---|---|
other | SourcePosition | An object to compare with this object. |
Returns ​
true if the current object is equal to the other parameter; otherwise, false.
Equals(Object) ​
Determines whether the specified object is equal to the current object.
c#
public sealed 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.