Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLAnchorElement::accessKey Property

Sets or retrieves the access key for the object.

Syntax


HRESULT IHTMLAnchorElement::get_accessKey(BSTR *p);HRESULT IHTMLAnchorElement::put_accessKey(BSTR v);

Parameters

p
Pointer to a variable of type BSTR that receives a key on an alphanumeric keyboard.
v
BSTR that specifies a key on an alphanumeric keyboard.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

In Windows Internet Explorer 7 and greater, ALT+D selects text in the Address bar, making D unavailable as a keyboard shortcut on a webpage.

See Also

Community Additions

Show:
© 2015 Microsoft