IVsStatusbar.SetText(String) Method

Definition

Sets the status bar text in the text area.

C++/CX
public:
 int SetText(Platform::String ^ pszText);

Parameters

pszText
String

[in] The text to display in the status text area.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsStatusbar::SetText(  
   [in]LPCOLESTR pszText  
);  

The animation icon and progress bar overwrite the text area if the text is too long when those methods are called.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022