ExpKeyboardInput 類別

定義

public ref class ExpKeyboardInput sealed : ExpInputObject
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedExperimentalContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ExpKeyboardInput final : ExpInputObject
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedExperimentalContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ExpKeyboardInput : ExpInputObject
Public NotInheritable Class ExpKeyboardInput
Inherits ExpInputObject
繼承
Object Platform::Object IInspectable ExpInputObject ExpKeyboardInput
屬性

屬性

CurrentKeyEventDeviceId
DispatcherQueue (繼承來源 ExpInputObject)
InputSite (繼承來源 ExpInputObject)

方法

Close() (繼承來源 ExpInputObject)
Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。

(繼承來源 ExpInputObject)
GetCurrentKeyState(VirtualKey)
GetForInputSite(ExpInputSite)
GetKeyState(VirtualKey)

事件

AcceleratorKeyActivated
CharacterReceived
ContextMenuKey
KeyDown
KeyUp
SysKeyDown
SysKeyUp

適用於