SharedStatusBar 类

此状态栏对 Visual Studio 状态栏进行包装,并确保一次只呈现一个特定于数据库功能的活动。

此 API 不兼容 CLS。 

继承层次结构

System.Object
  Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBar

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.UI
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public NotInheritable Class SharedStatusBar _
    Implements ISharedStatusBar
[CLSCompliantAttribute(false)]
public sealed class SharedStatusBar : ISharedStatusBar
[CLSCompliantAttribute(false)]
public ref class SharedStatusBar sealed : ISharedStatusBar
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type SharedStatusBar =  
    class
        interface ISharedStatusBar
    end
public final class SharedStatusBar implements ISharedStatusBar

SharedStatusBar 类型公开以下成员。

属性

  名称 说明
公共属性静态成员 Instance 返回唯一实例。

页首

方法

  名称 说明
公共方法 Animation 控制状态栏中图标的动画。
公共方法 Clear 清除状态栏中的状态文本区域和编辑器信息区域。
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 FreezeOutput 防止更新状态文本区域。
公共方法 GetFreezeCount 返回状态栏上保持的冻结数。
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetText 检索当前状态栏文本。
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 IsFrozen 返回状态栏的冻结状态。
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 Progress(SharedStatusBarOwner, Int32, String, UInt32, UInt32) 显示占用确定时间量的操作的进度。
公共方法 Progress(SharedStatusBarOwner, Int32, String, UInt32, UInt32, Boolean) 显示占用确定时间量的操作的进度。
公共方法 ReleaseOwnership 释放状态栏的所有权。如果 possibleOwner 为实际所有者,则返回 true。
公共方法 SetColorText 使用前景色和背景色设置状态栏文本。
公共方法 SetInsMode 将状态栏中编辑器的模式设置为插入或改写。
公共方法 SetLineChar 在状态栏的编辑器信息区域中显示行号和字符位置。
公共方法 SetLineColChar 在状态栏的编辑器信息区域中显示行号、列号和字符位置。
公共方法 SetSelMode 设置状态栏中编辑器的块或流选择模式。
公共方法 SetText 设置文本区域中的状态栏文本。
公共方法 SetXYWH 在状态栏的编辑器信息区域中显示当前图形框的 (x,y) 位置以及宽度和高度。
公共方法 TakeOwnership 取得状态栏的所有权。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空间