GamePadState.op_Equality Method

Determines whether two GamePadState instances are equal.

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

Syntax

public static bool op_Equality (
         GamePadState left,
         GamePadState right
)

Parameters

  • left
    Object on the left of the equal sign.
  • right
    Object on the right of the equal sign.

Return Value

true if the instances are equal; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista