Padding.Equals 方法

定義

多載

Equals(Object)

判斷指定之物件的值是否與目前的 Padding 相等。

Equals(Padding)

指出目前的物件是否等於另一個相同類型的物件。

Equals(Object)

判斷指定之物件的值是否與目前的 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

參數

other
Object

要與目前 Padding 物件比較的物件。

傳回

如果 Padding 物件相同,則為 true,否則為 false

備註

只有類型的其他物件 (或衍生型 Padding 別) 可以等於目前的 Padding 。 此外,這兩個 Padding 物件的對應 RightLeftBottomTop 屬性必須相同。

另請參閱

適用於

Equals(Padding)

指出目前的物件是否等於另一個相同類型的物件。

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

參數

other
Padding

要與此物件進行比較的物件。

傳回

若目前的物件等於 true 參數,則為 other,否則即為 false

實作

適用於