다음을 통해 공유


RectangleD.Inequality(RectangleD, RectangleD) Operator

Definition

Tests whether two RectangleD structures differ in location or size.

public:
 static bool operator !=(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD left, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD right);
public static bool operator != (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD left, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD right);
static member op_Inequality : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> bool
Public Shared Operator != (left As RectangleD, right As RectangleD) As Boolean

Parameters

left
RectangleD

The RectangleD structure that is to the left of the inequality operator.

right
RectangleD

The RectangleD structure that is to the right of the inequality operator

Returns

This operator returns true if any of the X, Y, Width, or Height properties of the two RectangleD structures are unequal; otherwise false.

Applies to