GamePadButtons.op_Equality Method

Indicates if the two GamePadButton objects are equal.

Syntax

'Declaration
Public Shared Function op_Equality ( _
         left As GamePadButtons, _
         right As GamePadButtons _
) As Boolean 
public static bool op_Equality (
         GamePadButtons left,
         GamePadButtons right
)
public:
static bool op_Equality(
         GamePadButtons left,
         GamePadButtons right
)

Parameters

  • left
    Type: GamePadButtons
    The GamePadButtons instance on the left side of the equality.
  • right
    Type: GamePadButtons
    The GamePadButtons instance on the right side of the equality.

Return Value

Type: Boolean
Returns true if the objects are equal; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework.Input

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

GamePadButtons Structure
GamePadButtons Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Windows Phone