Color.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(Object) |
Tests whether the specified object is a Color struct and is equivalent to the current 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)
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
Returns
true
if the specified object is a Color struct and is identical to the current Color struct; otherwise, false
.
Applies to
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
Public Function Equals (color As Color) As Boolean
Parameters
Returns
true
if the specified Color struct is identical to the current Color struct; otherwise, false
.