Share via


IUIAutomationMultipleViewPattern::GetViewName Method

Retrieves the name of a control-specific view.

Syntax

HRESULT GetViewName(      
    int view,
    BSTR *name
);

Parameters

  • view
    [in] The identifier of the view.
  • name
    [out, retval] The address of a variable that receives a pointer to a localized view name.

Return Value

Returns S_OK if successful, or an error value otherwise.