We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsStatusbarUser.SetInfo Method

Sets the information in the status bar to reflect this status bar user.

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

int SetInfo()

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

This method is called when the window associated with this status bar user becomes active. This method then sets the various parts of the status bar to reflect the current conditions of this status bar user by calling the respective methods of the IVsStatusbar interface, such as SetText SetLineColChar and SetInsMode.