編輯

共用方式為


Margins.Equals(Object) Method

Definition

Compares this Margins to the specified Object to determine whether they have the same dimensions.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (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 object to which to compare this Margins.

Returns

true if the specified object is a Margins and has the same Top, Bottom, Right and Left values as this Margins; otherwise, false.

Applies to

See also