Metodo IUIAutomationSpreadsheetPattern::GetItemByName (uiautomationclient.h)

Recupera un elemento Automazione interfaccia utente che rappresenta la cella del foglio di calcolo con il nome specificato.

Sintassi

HRESULT GetItemByName(
  [in]          BSTR                 name,
  [out, retval] IUIAutomationElement **element
);

Parametri

[in] name

Tipo: BSTR

Nome della cella di destinazione.

[out, retval] element

Tipo: IUIAutomationElement**

Riceve l'elemento che rappresenta la cella di destinazione.

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 8 [solo app desktop]
Server minimo supportato Windows Server 2012 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione uiautomationclient.h (includere UIAutomation.h)

Vedi anche

IUIAutomationSpreadsheetPattern