KeyboardDevice.GetKeyStates(Key) Metodo

Definizione

Ottiene il set di stati della chiave per l'oggetto specificato Key.

public:
 System::Windows::Input::KeyStates GetKeyStates(System::Windows::Input::Key key);
public System.Windows.Input.KeyStates GetKeyStates(System.Windows.Input.Key key);
member this.GetKeyStates : System.Windows.Input.Key -> System.Windows.Input.KeyStates
Public Function GetKeyStates (key As Key) As KeyStates

Parametri

key
Key

Chiave da controllare.

Valori restituiti

Set di stati della chiave per la chiave specificata.

Eccezioni

key non è una chiave valida.

Si applica a