Поделиться через


VsMethodTipWindowClass Class

Provides a method tip window for an item in a language service.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsMethodTipWindowClass

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

Syntax

'Declaration
<ClassInterfaceAttribute()> _
<GuidAttribute("261A5572-C649-11D0-A8DF-00A0C921A4D2")> _
Public Class VsMethodTipWindowClass _
    Implements IVsMethodTipWindow, VsMethodTipWindow
[ClassInterfaceAttribute()]
[GuidAttribute("261A5572-C649-11D0-A8DF-00A0C921A4D2")]
public class VsMethodTipWindowClass : IVsMethodTipWindow, 
    VsMethodTipWindow
[ClassInterfaceAttribute()]
[GuidAttribute(L"261A5572-C649-11D0-A8DF-00A0C921A4D2")]
public ref class VsMethodTipWindowClass : IVsMethodTipWindow, 
    VsMethodTipWindow
[<ClassInterfaceAttribute()>]
[<GuidAttribute("261A5572-C649-11D0-A8DF-00A0C921A4D2")>]
type VsMethodTipWindowClass =  
    class
        interface IVsMethodTipWindow
        interface VsMethodTipWindow
    end
public class VsMethodTipWindowClass implements IVsMethodTipWindow, VsMethodTipWindow

The VsMethodTipWindowClass type exposes the following members.

Constructors

  Name Description
Public method VsMethodTipWindowClass

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.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSizePreferences Returns the preferred sizes 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 SetMethodData Sets method data to display in the method tip window and releases previous method data.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WndProc Method information not provided.

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