Partilhar via


KeyboardInput Classe

Definição

Habilita o tratamento de entrada de teclado para o thread atual.

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
Herança
Object Platform::Object IInspectable KeyboardInput
Atributos

Métodos

GetKeyStateForCurrentThread(VirtualKey)

Recupera o estado de uma chave virtual.

Aplica-se a