Share via


TableLayoutPanelCellPosition.Equals 方法

定義

多載

Equals(Object)

指定這個 TableLayoutPanelCellPosition 是否包含與指定 TableLayoutPanelCellPosition 相同的資料列和資料行。

Equals(TableLayoutPanelCellPosition)

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

Equals(Object)

指定這個 TableLayoutPanelCellPosition 是否包含與指定 TableLayoutPanelCellPosition 相同的資料列和資料行。

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

參數

other
Object

要測試的 TableLayoutPanelCellPosition

傳回

Boolean

如果 otherTableLayoutPanelCellPosition,且具有與指定 TableLayoutPanelCellPosition 相同的資料列和資料行,則為 true,否則為 false

另請參閱

適用於

Equals(TableLayoutPanelCellPosition)

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

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

參數

other
TableLayoutPanelCellPosition

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

傳回

Boolean

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

實作

適用於