Color.Equality(Color, Color) Opérateur

Définition

Teste si deux structs Color sont identiques.Tests whether two Color structs are identical.

public:
 static bool operator ==(Windows::UI::Color color1, Windows::UI::Color color2);
public static bool operator == (Windows.UI.Color color1, Windows.UI.Color color2);
static member ( = ) : Windows.UI.Color * Windows.UI.Color -> bool
Public Shared Operator == (color1 As Color, color2 As Color) As Boolean

Paramètres

color1
Color

Premier struct Color à comparer.The first Color struct to compare.

color2
Color

Deuxième struct Color à comparer.The second Color struct to compare.

Retours

true si color1 et color2 sont strictement identiques ; sinon, false.true if color1 and color2 are exactly identical; otherwise, false.

Remarques

Ce struct représente la projection .NET du struct Color Windows Runtime (WinRT).This struct represents the .NET projection of the Windows Runtime (WinRT) Color struct. Pour plus d’informations, consultez Color dans la référence de l’API UWP.For more information, see Color in the UWP API reference.

S’applique à