Editare

Partajați prin


Padding.Equals Method

Definition

Overloads

Equals(Object)

Determines whether the value of the specified object is equivalent to the current Padding.

Equals(Padding)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Determines whether the value of the specified object is equivalent to the current Padding.

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

Parameters

other
Object

The object to compare to the current Padding.

Returns

true if the Padding objects are equivalent; otherwise, false.

Remarks

Only other objects of type Padding (or a derived type) can be equal to the current Padding. In addition, the corresponding Right, Left, Bottom and Top properties for both Padding objects must be the same.

See also

Applies to

Equals(Padding)

Indicates whether the current object is equal to another object of the same type.

public:
 virtual bool Equals(System::Windows::Forms::Padding other);
public bool Equals (System.Windows.Forms.Padding other);
public readonly bool Equals (System.Windows.Forms.Padding other);
override this.Equals : System.Windows.Forms.Padding -> bool
Public Function Equals (other As Padding) As Boolean

Parameters

other
Padding

An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

Implements

Applies to