IUIAutomationLegacyIAccessiblePattern::SetValue Method

Sets the Microsoft Active Accessibility value property for the element.

Syntax

HRESULT SetValue(      
    LPCWSTR szValue
);

Parameters

  • szValue
    A localized string that contains the object's value.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method is supported only for some elements (usually edit controls).