共用方式為


VsSmartTagTipWindowClass Class

Controls interaction with a tip window.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsSmartTagTipWindowClass

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

Syntax

'宣告
<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

The VsSmartTagTipWindowClass type exposes the following members.

Constructors

  Name Description
Public method VsSmartTagTipWindowClass Initializes a new instance of VsSmartTagTipWindowClass.

Top

Methods

  Name Description
Public method Dismiss The window is being dismissed by the view.
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 (the position and length of text in the buffer that should not be obscured by the tip window, but to which the content of the tip is related).
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSizePreferences Returns the size preferences for a 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 Renders the tip window.
Public method SetSmartTagData Sets smart tag data.
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