共用方式為


Margins.Inequality(Margins, Margins) 運算子

定義

比較兩個 Margins,以判斷它們是否為不相等的寬度。

public:
 static bool operator !=(System::Drawing::Printing::Margins ^ m1, System::Drawing::Printing::Margins ^ m2);
public static bool operator != (System.Drawing.Printing.Margins m1, System.Drawing.Printing.Margins m2);
public static bool operator != (System.Drawing.Printing.Margins? m1, System.Drawing.Printing.Margins? m2);
static member op_Inequality : System.Drawing.Printing.Margins * System.Drawing.Printing.Margins -> bool
Public Shared Operator != (m1 As Margins, m2 As Margins) As Boolean

參數

m1
Margins

要進行是否不相等之比較的第一個 Margins

m2
Margins

要進行是否不相等之比較的第二個 Margins

傳回

true 表示兩個邊界的 LeftRightTopBottom 屬性不相等,否則為 false

備註

這個運算子的對等方法為 Margins.Equals(Object)

適用於