Bagikan melalui


KeyboardInput Kelas

Definisi

Memungkinkan penanganan input keyboard untuk utas saat ini.

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
Warisan
Object Platform::Object IInspectable KeyboardInput
Atribut

Metode

GetKeyStateForCurrentThread(VirtualKey)

Mengambil status kunci virtual.

Berlaku untuk