Compartilhar via


IVsStatusbar Interface

Provides access to the environment's status bar.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("DC0AF70E-5097-4DD3-9983-5A98C3A19942")> _
Public Interface IVsStatusbar
[InterfaceTypeAttribute()]
[GuidAttribute("DC0AF70E-5097-4DD3-9983-5A98C3A19942")]
public interface IVsStatusbar
[InterfaceTypeAttribute()]
[GuidAttribute(L"DC0AF70E-5097-4DD3-9983-5A98C3A19942")]
public interface class IVsStatusbar
[<InterfaceTypeAttribute()>]
[<GuidAttribute("DC0AF70E-5097-4DD3-9983-5A98C3A19942")>]
type IVsStatusbar =  interface end
public interface IVsStatusbar

The IVsStatusbar type exposes the following members.

Methods

  Name Description
Public method Animation Controls the animation of the icon in the status bar.
Public method Clear Clears the status text area and the editor information area in the status bar.
Public method FreezeOutput Inhibits updates to the status text area.
Public method GetFreezeCount Returns the number of freeze holds on the status bar.
Public method GetText Retrieves the current status bar text.
Public method IsCurrentUser Determines whether the specified user is the current user of the status bar.
Public method IsFrozen Returns the freeze state of the status bar.
Public method Progress Shows the progress of operations that take a determinate amount of time.
Public method SetColorText Sets the status bar text with foreground and background colors.
Public method SetInsMode Sets the mode of the editor in the status bar to either insert or overwrite.
Public method SetLineChar Displays the line number and character position in the editor information area of the status bar.
Public method SetLineColChar Displays the line number, column number, and character position in the editor information area of the status bar.
Public method SetSelMode Sets the block or stream selection mode of the editor in the status bar.
Public method SetText Sets the status bar text in the text area.
Public method SetXYWH Displays the (x,y) position and the width and height of the current graphics box in the editor information area of the status bar.

Top

Remarks

The status bar in Visual Studio is divided into four regions: status text area, progress bar area, animated icon area, and the editor information area. Each region can support one or more output panes. For more information, see the Status Bar topic under the Window Design node of the User Interface Design Guidelines.

Notes to Callers

This interface should be called whenever information in the status bar needs to be updated.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace