Share via


IVsStatusbar.GetText(String) Method

Definition

Retrieves the current status bar text.

public:
 int GetText([Runtime::InteropServices::Out] System::String ^ % pszText);
int GetText([Runtime::InteropServices::Out] std::wstring const & & pszText);
public int GetText (out string pszText);
abstract member GetText : string -> int
Public Function GetText (ByRef pszText As String) As Integer

Parameters

pszText
String

[out] Current status bar text.

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::GetText(  
   [out]BSTR *pszText  
);  

Applies to