IUIAutomationElement::CachedAcceleratorKey Property
Retrieves the element's accelerator key from the cache.
Syntax
HRESULT IUIAutomationElement::get_CachedAcceleratorKey(BSTR *retVal);
Parameters
- retVal
The address of a BSTR that receives a description of the accelerator key; for example, "Alt+A".
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
UIA_AcceleratorKeyPropertyId, IUIAutomationElement::CurrentAcceleratorKey