Color.Equals Color.Equals Color.Equals Color.Equals Method

Definition

Overloads

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Tests whether the specified object is a Color struct and is equivalent to the current color.

Equals(Color) Equals(Color) Equals(Color)

Tests whether the specified Color struct is identical to the current color.

Remarks

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

For more information about this member, see Color.Equals in the .NET Framework API reference.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Tests whether the specified object is a Color struct and is equivalent to the current color.

public:
 override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean

Parameters

o
Object Object Object Object

The object to compare to the current Color struct.

Returns

true if the specified object is a Color struct and is identical to the current Color struct; otherwise, false.

Equals(Color) Equals(Color) Equals(Color)

Tests whether the specified Color struct is identical to the current color.

public:
 bool Equals(Windows::UI::Color color);
public bool Equals (Windows.UI.Color color);
override this.Equals : Windows.UI.Color -> bool

Parameters

color
Color Color Color Color

The Color struct to compare to the current Color struct.

Returns

true if the specified Color struct is identical to the current Color struct; otherwise, false.

Applies to