共用方式為


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)

Syntax

'Declaration
Function SetInfo As Integer
int SetInfo()
int SetInfo()
abstract SetInfo : unit -> int
function SetInfo() : int

Return Value

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

Remarks

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 SetTextSetLineColChar and SetInsMode.

.NET Framework Security

See Also

Reference

IVsStatusbarUser Interface

Microsoft.VisualStudio.Shell.Interop Namespace