共用方式為


TableLayoutPanelCellPosition.Equality 運算子

定義

比較兩個 TableLayoutPanelCellPosition 物件。 結果會指定兩個 Row 物件的 ColumnTableLayoutPanelCellPosition 屬性值是否相等。

public:
 static bool operator ==(System::Windows::Forms::TableLayoutPanelCellPosition p1, System::Windows::Forms::TableLayoutPanelCellPosition p2);
public static bool operator == (System.Windows.Forms.TableLayoutPanelCellPosition p1, System.Windows.Forms.TableLayoutPanelCellPosition p2);
static member ( = ) : System.Windows.Forms.TableLayoutPanelCellPosition * System.Windows.Forms.TableLayoutPanelCellPosition -> bool
Public Shared Operator == (p1 As TableLayoutPanelCellPosition, p2 As TableLayoutPanelCellPosition) As Boolean

參數

傳回

Boolean

如果 p1p2 相等,則為 true;否則為 false

備註

這個運算子 TableLayoutPanelCellPosition.Equals 的對等方法是 。

適用於

另請參閱