Color.Equality(Color, Color) Operatore

Definizione

Verificare se due struct Color sono identici.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

Parametri

color1
Color

Primo struct Color da confrontare.The first Color struct to compare.

color2
Color

Secondo struct Color da confrontare.The second Color struct to compare.

Restituisce

true se i parametri color1 color2 sono esattamente identici, altrimenti false.true if color1 and color2 are exactly identical; otherwise, false.

Commenti

Questo struct rappresenta la proiezione .NET dello struct Windows Runtime (WinRT) Color .This struct represents the .NET projection of the Windows Runtime (WinRT) Color struct. Per altre informazioni, vedere color nei riferimenti all'API UWP.For more information, see Color in the UWP API reference.

Si applica a