共用方式為


VsTextTipWindowClass Class

Provides a tip when the mouse pauses over a particular context stream in the core editor. See IVsTextTipWindow.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsTextTipWindowClass

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

Syntax

'宣告
<ClassInterfaceAttribute()> _
<GuidAttribute("05DD7650-130A-11D3-AFCB-00105A9991EF")> _
Public Class VsTextTipWindowClass _
    Implements IVsTextTipWindow, VsTextTipWindow
[ClassInterfaceAttribute()]
[GuidAttribute("05DD7650-130A-11D3-AFCB-00105A9991EF")]
public class VsTextTipWindowClass : IVsTextTipWindow, 
    VsTextTipWindow
[ClassInterfaceAttribute()]
[GuidAttribute(L"05DD7650-130A-11D3-AFCB-00105A9991EF")]
public ref class VsTextTipWindowClass : IVsTextTipWindow, 
    VsTextTipWindow
[<ClassInterfaceAttribute()>]
[<GuidAttribute("05DD7650-130A-11D3-AFCB-00105A9991EF")>]
type VsTextTipWindowClass =  
    class
        interface IVsTextTipWindow
        interface VsTextTipWindow
    end
public class VsTextTipWindowClass implements IVsTextTipWindow, VsTextTipWindow

The VsTextTipWindowClass type exposes the following members.

Constructors

  Name Description
Public method VsTextTipWindowClass Creates a new instance of the class.

Top

Methods

  Name Description
Public method Dismiss Dismisses the tip window.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetContextStream Returns the context stream.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSizePreferences Gets the size preferences for the tip window.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Paint Paints the tip window.
Public method SetTextTipData Sets the text tip.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WndProc Processes Windows messages for the tip window.

Top

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace