IVsStatusbar::GetText Method (String^)

 

Retrieves the current status bar text.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetText(
	[OutAttribute] String^% pszText
)

Parameters

pszText
Type: System::String^

[out] Current status bar text.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsStatusbar::GetText(
   [out]BSTR *pszText
);
Return to top
Show: