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的等效方法是 。

适用于

另请参阅