Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRangeValueProvider::SetValue method

Sets the value of the control.

Syntax


HRESULT SetValue(
  [in]  double val
);

Parameters

val [in]

Type: double

The value to set.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The actual value set depends on the control implementation. The control may round the requested value up or down.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

UIAutomationCore.h (include UIAutomation.h)

IDL

UIAutomationCore.idl

DLL

Uiautomationcore.dll

See also

IRangeValueProvider
UI Automation Providers Overview

 

 

Community Additions

Show:
© 2014 Microsoft