Sdílet prostřednictvím


KeyboardState.op_Equality Method

Compares two objects to determine whether they are the same.

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

Syntax

public static bool op_Equality (
         KeyboardState a,
         KeyboardState b
)

Parameters

  • a
    Object to the left of the equality operator.
  • b
    Object to the right of the equality operator.

Return Value

true if the objects are the same; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista