Retrieves the current value of the accessKey (accelerator) property of the element.
Syntax
HRESULT get_accelerator(
BSTR *p
);
Parameters
- p
- Address of a string (BSTR) that contains the accelerator key of the element.
Return Value
Returns S_OK if successful, or an error code otherwise.