VsSmartTagTipWindowClass 类

控件与提示窗口的交互。

继承层次结构

Object
  Microsoft.VisualStudio.TextManager.Interop.VsSmartTagTipWindowClass

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
<GuidAttribute("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")> _
<ClassInterfaceAttribute()> _
Public Class VsSmartTagTipWindowClass _
    Implements IVsSmartTagTipWindow, VsSmartTagTipWindow
[GuidAttribute("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")]
[ClassInterfaceAttribute()]
public class VsSmartTagTipWindowClass : IVsSmartTagTipWindow, 
    VsSmartTagTipWindow
[GuidAttribute(L"5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")]
[ClassInterfaceAttribute()]
public ref class VsSmartTagTipWindowClass : IVsSmartTagTipWindow, 
    VsSmartTagTipWindow
[<GuidAttribute("5A46C6DE-1FE4-43B8-8E1E-598AE65F184A")>]
[<ClassInterfaceAttribute()>]
type VsSmartTagTipWindowClass =  
    class 
        interface IVsSmartTagTipWindow 
        interface VsSmartTagTipWindow 
    end
public class VsSmartTagTipWindowClass implements IVsSmartTagTipWindow, VsSmartTagTipWindow

VsSmartTagTipWindowClass 类型公开以下成员。

构造函数

  名称 说明
公共方法 VsSmartTagTipWindowClass 初始化 VsSmartTagTipWindowClass 的新实例。

页首

方法

  名称 说明
公共方法 Dismiss 窗口通过视图关闭。
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetContextStream 返回上下文流 (文本的位置和长度。不应由提示窗口遮盖的缓冲区,但是,对哪个提示的内容是相关的)。
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetSizePreferences 返回提示窗口的大小首选项。
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 Paint
公共方法 SetSmartTagData 智能标记数据。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)
公共方法 WndProc

页首

备注

您不能使用 new 关键字创建此类的实例。 相反,您必须获取 ILocalRegistry 对象并用 CreateInstance创建对象。 MPF 将使用 CreateInstance的此方法。

线程安全

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

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间