Freigeben über


KeyboardInput Klasse

Definition

Ermöglicht die Verarbeitung von Tastatureingaben für den aktuellen Thread.

public ref class KeyboardInput abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KeyboardInput final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class KeyboardInput
Public Class KeyboardInput
Vererbung
Object Platform::Object IInspectable KeyboardInput
Attribute

Methoden

GetKeyStateForCurrentThread(VirtualKey)

Ruft den Zustand eines virtuellen Schlüssels ab.

Gilt für: