Condividi tramite


RectangleD.Equality(RectangleD, RectangleD) Operator

Definition

Tests whether two RectangleD structures have equal location and 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 ( = ) : 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 equality operator.

right
RectangleD

The RectangleD structure that is to the right of the equality operator.

Returns

This operator returns true if the two specified RectangleD structures have equal X, Y, Width, and Height properties.

Applies to