Sdílet prostřednictvím


GamePadState.Equals Method

Returns a value that indicates whether the current instance is equal to a specified 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
    Object with which to make the comparison.

Return Value

Type: Boolean
true if the current instance is equal to the specified object; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework.Input

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

See Also

Reference

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

Platforms

Windows Phone