SimpleEditorView.SetInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.