Padding.Inequality(Padding, Padding) 運算子

定義

測試兩個指定的 Padding 物件是否相等。Tests whether two specified Padding objects are not equivalent.

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

參數

p1
Padding

要測試的 PaddingA Padding to test.

p2
Padding

要測試的 PaddingA Padding to test.

傳回

如果兩個 Padding 物件不同,則為 true,否則為 falsetrue if the two Padding objects are different; otherwise, false.

備註

這項作業是 Equality的反向作業。This operation is the inverse of Equality.

這個運算子的對等方法是否定的 Padding.EqualsThe equivalent method for this operator is the negation of Padding.Equals

適用於

另請參閱