Color.op_Equality Method

Equality operator.

Syntax

'Declaration
Public Shared Function op_Equality ( _
         a As Color, _
         b As Color _
) As Boolean 
public static bool op_Equality (
         Color a,
         Color b
)
public:
static bool op_Equality(
         Color a,
         Color b
)

Parameters

  • a
    Type: Color
    A four-component color.
  • b
    Type: Color
    A four-component color.

Return Value

Type: Boolean
True if the colors are equal; false otherwise.

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