共用方式為


ElementLocation.Equals(Object) Method

Definition

Override Equals so that identical fields imply equal objects.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The element location to compare to this element location.

Returns

true if the objects are equal; otherwise, false.

Applies to