Sdílet prostřednictvím


KeyboardState.op_Inequality Method

Compares two objects to determine whether they are different.

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

Syntax

public static bool op_Inequality (
         KeyboardState a,
         KeyboardState b
)

Parameters

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

Return Value

true if the objects are different; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista