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