Bewerken

Delen via


Color.Inequality(Color, Color) Operator

Definition

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

Parameters

color1
Color

The first Color struct to compare.

color2
Color

The second Color struct to compare.

Returns

true if color1 and color2 are not equal; otherwise, false.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Color struct. For more information, see Color in the UWP API reference.

Applies to