Share via


IUIAutomationLegacyIAccessiblePattern::CurrentValue Property

Retrieves the Microsoft Active Accessibility value property.

Syntax

HRESULT IUIAutomationLegacyIAccessiblePattern::get_CurrentValue(BSTR *pszValue);

Parameters

  • pszValue
    The address of a variable that receives a pointer to the value, as a string, or NULL if the element has no value.

Return Value

Returns S_OK if successful, or an error value otherwise.