Share via


IUIAutomationRangeValuePattern::SetValue Method

Sets the value of the control.

Syntax

HRESULT SetValue(      
    double val
);

Parameters

  • val
    [in] The value to set as the value of the control.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IUIAutomationRangeValuePattern::CurrentMaximum, IUIAutomationRangeValuePattern::CurrentMinimum