Partager via


IVsStatusbar.SetText(String) Method

Definition

Sets the status bar text in the text area.

public:
 int SetText(System::String ^ pszText);
public:
 int SetText(Platform::String ^ pszText);
int SetText(std::wstring const & pszText);
public int SetText (string pszText);
abstract member SetText : string -> int
Public Function SetText (pszText As String) As Integer

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:

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