TableLayoutPanelCellPosition.Inequality 操作员

定义

比较两个 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 op_Inequality : System.Windows.Forms.TableLayoutPanelCellPosition * System.Windows.Forms.TableLayoutPanelCellPosition -> bool
Public Shared Operator != (p1 As TableLayoutPanelCellPosition, p2 As TableLayoutPanelCellPosition) As Boolean

参数

返回

如果 p1p2 不相同,则为 true;否则为 false

注解

此运算符的等效方法是 的求反 TableLayoutPanelCellPosition.Equals

适用于

另请参阅