MenuStrip.ProcessCmdKey(Message, Keys) MenuStrip.ProcessCmdKey(Message, Keys) MenuStrip.ProcessCmdKey(Message, Keys) MenuStrip.ProcessCmdKey(Message, Keys) Method

정의

명령 키를 처리합니다.Processes a command key.

protected:
 override bool ProcessCmdKey(System::Windows::Forms::Message % m, System::Windows::Forms::Keys keyData);
protected override bool ProcessCmdKey (ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData);
override this.ProcessCmdKey : Message * System.Windows.Forms.Keys -> bool
Protected Overrides Function ProcessCmdKey (ByRef m As Message, keyData As Keys) As Boolean

매개 변수

m
Message Message Message Message

처리할 창 메시지를 나타내며 참조에 의해 전달되는 Message입니다.A Message, passed by reference, that represents the window message to process.

keyData
Keys Keys Keys Keys

처리할 키를 나타내는 Keys 값 중 하나입니다.One of the Keys values that represents the key to process.

반환

컨트롤이 문자를 처리하면 true이고, 그렇지 않으면 false입니다.true if the character was processed by the control; otherwise, false.

보안

SecurityPermission
비관리 코드를 호출할 즉각적인 호출자가입니다.for the immediate caller to call unmanaged code. 연결 된 열거형: UnmanagedCodeAssociated enumeration: UnmanagedCode

적용 대상