C# 클래스 PoshCode.Interop.KeyboardHelper

Extension methods for working with Keyboards and KeyEvents
파일 보기 프로젝트 열기: Jaykul/PoshConsole

공개 메소드들

메소드 설명
ToKeyInfo ( this e ) : System.Management.Automation.Host.KeyInfo

Create a KeyInfo from a KeyEventArgs

비공개 메소드들

메소드 설명
GetChar ( int vk ) : char

Get the char from a VirtualKey -- MUST be called within the keyboard event handler.

GetControlKeyStates ( this kb ) : ControlKeyStates

Gets the control key states.

메소드 상세

ToKeyInfo() 공개 정적인 메소드

Create a KeyInfo from a KeyEventArgs
public static ToKeyInfo ( this e ) : System.Management.Automation.Host.KeyInfo
e this The KeyEventArgs
리턴 System.Management.Automation.Host.KeyInfo