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
声明
Function SetInfo As Integer
用法
Dim instance As IVsStatusbarUser
Dim returnValue As Integer
returnValue = instance.SetInfo()
int SetInfo()
int SetInfo()
abstract SetInfo : unit -> int
function SetInfo() : int
Return Value
Type: System.Int32
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 SetText SetLineColChar and SetInsMode.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.