Color.Inequality(Color, Color) Color.Inequality(Color, Color) Color.Inequality(Color, Color) Color.Inequality(Color, Color) Operator

Definition

Überprüft, ob zwei Color-Strukturen nicht identisch sind.Tests whether two Color structs are not 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 op_Inequality : Windows.UI.Color * Windows.UI.Color -> bool
Public Shared Operator != (color1 As Color, color2 As Color) As Boolean

Parameter

color1
Color Color Color Color

Die erste zu vergleichende Color-Struktur.The first Color struct to compare.

color2
Color Color Color Color

Die zweite zu vergleichende Color-Struktur.The second Color struct to compare.

Gibt zurück

true, wenn color1 und color2 ungleich sind, andernfalls false.true if color1 and color2 are not equal; otherwise, false.

Hinweise

Diese Struktur stellt die .NET Projektion der Windows-Runtime (WinRT) Color Struktur.This struct represents the .NET projection of the Windows Runtime (WinRT) Color struct. Weitere Informationen finden Sie unter Farbe in der UWP-API-Referenz.For more information, see Color in the UWP API reference.

Gilt für: