SimpleEditorView::SetInfo Method ()

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int SetInfo()

Return Value

Type: System::Int32

When implemented by derived classes, if the method succeeds, it returns S_OK. If it fails, it returns an error code.

By default this method returns S_OK.

This method is called when the window associated with this view becomes active. This method then sets the various parts of the status bar to reflect the current conditions of this view by calling the respective methods of the T:Microsoft.VisualStudio.Shell.Interop.IVsStatusbar interface, such as M:Microsoft.VisualStudio.Shell.Interop.IVsStatusbarSetTextSetLineColChar and M:Microsoft.VisualStudio.Shell.Interop.IVsStatusbarSetInsMode.

Return to top
Show: