Int32Rect.Equality(Int32Rect, Int32Rect) Operador

Definição

Compara a igualdade exata de dois retângulos.

public:
 static bool operator ==(System::Windows::Int32Rect int32Rect1, System::Windows::Int32Rect int32Rect2);
public static bool operator == (System.Windows.Int32Rect int32Rect1, System.Windows.Int32Rect int32Rect2);
static member ( = ) : System.Windows.Int32Rect * System.Windows.Int32Rect -> bool
Public Shared Operator == (int32Rect1 As Int32Rect, int32Rect2 As Int32Rect) As Boolean

Parâmetros

int32Rect1
Int32Rect

O primeiro retângulo para comparar.

int32Rect2
Int32Rect

O segundo retângulo a ser comparado.

Retornos

Boolean

true, se int32Rect1 e int32Rect2 tiverem os mesmos X, Y, Width e Height; caso contrário, false.

Comentários

O método equivalente para este operador é Int32Rect.Equals(Int32Rect, Int32Rect)

Aplica-se a