Margins.Inequality(Margins, Margins) Operator

Definition

Compares two Margins to determine whether they are of unequal width.

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

Parameters

m1
Margins

The first Margins to compare for inequality.

m2
Margins

The second Margins to compare for inequality.

Returns

true to indicate if the Left, Right, Top, or Bottom properties of both margins are not equal; otherwise, false.

Remarks

The equivalent method for this operator is Margins.Equals(Object)

Applies to