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