Retrieves the value of the accessKey property of the element.
Syntax
HRESULT get_accelerator( BSTR *p );
Parameters
- p
- Address of a string (BSTR) that contains the element's accessKey.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets the value of the accessKey property of the element.
Syntax
HRESULT put_accelerator( BSTR v );
Parameters
- v
- String (BSTR) that contains the accessKey to set.
Return Value
Returns S_OK if successful, or an error code otherwise.