IUIAutomationLegacyIAccessiblePattern::CurrentDescription Property
Retrieves the Microsoft UI Automation description of the element.
Syntax
HRESULT IUIAutomationLegacyIAccessiblePattern::get_CurrentDescription(BSTR *pszDescription);
Parameters
- pszDescription
The address of a variable that receives either a pointer to a localized description of the element, or NULL if no description is available.
Return Value
Returns S_OK if successful, or an error value otherwise.