Color.Equals Method (Object)
Test an instance of a color object to see if it is equal to this object.
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
public override bool Equals (
Object obj
)
public:
bool Equals(
Object obj
) override
Parameters
- obj
Type: Object
A color object.
Return Value
Type: Boolean
True if they are equal; otherwise false.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Color Structure
Color Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone