Click to return to the Reusing Browser Technology home page    
IHTMLElement2::focus Meth...     IHTMLElement2::get_canHav...     IHTMLElement2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLElement2::get_accessKey Method


Retrieves the accessKey property of the element.

Syntax

HRESULT get_accessKey(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) that contains the accessKey property.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLElement2::put_accessKey Method


Sets the accessKey property of the element.

Syntax

HRESULT put_accessKey(
    BSTR v
);

Parameters

v
String (BSTR) that contains the accessKey property of the element to set.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.