IDOMKeyboardEvent::char Property

New for Windows Internet Explorer 9

Gets a character for a key that is pressed, if available.

Syntax

HRESULT IDOMKeyboardEvent::get_ie9_char(VARIANT *p);

Parameters

  • p
    Pointer to a variable of type VARIANT of type VT_BSTR that receives the Unicode character of the key that is pressed, or VT_NULL.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IDOMKeyboardEvent::charCode, IDOMKeyboardEvent::key, IDOMKeyboardEvent::keyCode, IDOMKeyboardEvent::which