SimpleEditorView.SetInfo Method

Definition

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

public:
 virtual int SetInfo();
public:
 virtual int SetInfo();
 virtual int SetInfo();
public virtual int SetInfo ();
abstract member SetInfo : unit -> int
override this.SetInfo : unit -> int
Public Overridable Function SetInfo () As Integer

Returns

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

Implements

Remarks

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 <xref:Microsoft.VisualStudio.Shell.Interop.>SetInfo interface, such as <xref:Microsoft.VisualStudio.Shell.Interop.%2A>assetId:///IVsStatusbar?qualifyHint=False&autoUpgrade=TrueSetInfoSetInfo and <xref:Microsoft.VisualStudio.Shell.Interop.%2A>assetId:///IVsStatusbar?qualifyHint=False&autoUpgrade=TrueSetInfo.

Applies to