Metodo ILegacyIAccessibleProvider::SetValue (uiautomationcore.h)

Imposta il valore stringa del controllo.

Sintassi

HRESULT SetValue(
  [in] LPCWSTR szValue
);

Parametri

[in] szValue

Tipo: LPCWSTR

Stringa localizzata che contiene il valore.

Valore restituito

Tipo: HRESULT

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Requisiti

Requisito Valore
Client minimo supportato Windows 7, Windows Vista con SP2 e Aggiornamento della piattaforma per Windows Vista, Windows XP con SP3 e Platform Update per Windows Vista [app desktop | App UWP]
Server minimo supportato Windows Server 2008 R2, Windows Server 2008 con SP2 e Platform Update per Windows Server 2008, Windows Server 2003 con SP2 e Platform Update per Windows Server 2008 [app desktop | App UWP]
Piattaforma di destinazione Windows
Intestazione uiautomationcore.h (include UIAutomation.h)
DLL Uiautomationcore.dll

Vedi anche

ILegacyIAccessibleProvider