이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

keyCode property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the Unicode key code associated with the key that caused the event.


HRESULT value = object.put_keyCode( v);HRESULT value = object.get_keyCode(* p);

Property values

Type: long

the Unicode key code.


The property is used with the HTMLFrameSiteEvents::onkeydown, HTMLFrameSiteEvents::onkeyup, and HTMLFrameSiteEvents::onkeypress events.

The property's value is 0 if no key caused the event.



Send comments about this topic to Microsoft

Build date: 6/6/2012

커뮤니티 추가 항목

© 2015 Microsoft