Export (0) Print
Expand All

IValueProvider::IsReadOnly Property

Gets a value that specifies whether the value of a control is read-only.

Syntax


HRESULT IValueProvider::get_IsReadOnly(BOOL *pRetVal);

Parameters

pRetVal
The address of a variable that receives TRUE if the value is read-only; FALSE if it can be modified. This parameter is passed uninitialized.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

A control should have its IsEnabledProperty set to true and its IValueProvider::IsReadOnly property set to false before allowing a call to IValueProvider::SetValue.

See Also

UI Automation Providers Overview

Community Additions

Show:
© 2014 Microsoft