Partilhar via


VsMethodTipWindowClass Class

Definition

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

public ref class VsMethodTipWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsMethodTipWindow
[Windows::Foundation::Metadata::WebHostHidden]
class VsMethodTipWindowClass : Microsoft::VisualStudio::TextManager::Interop::VsMethodTipWindow
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("261A5572-C649-11D0-A8DF-00A0C921A4D2")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsMethodTipWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsMethodTipWindow
[System.Runtime.InteropServices.Guid("261A5572-C649-11D0-A8DF-00A0C921A4D2")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public class VsMethodTipWindowClass : Microsoft.VisualStudio.TextManager.Interop.VsMethodTipWindow
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.Guid("261A5572-C649-11D0-A8DF-00A0C921A4D2")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type VsMethodTipWindowClass = class
    interface IVsMethodTipWindow
    interface VsMethodTipWindow
[<System.Runtime.InteropServices.Guid("261A5572-C649-11D0-A8DF-00A0C921A4D2")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type VsMethodTipWindowClass = class
    interface VsMethodTipWindow
    interface IVsMethodTipWindow
    interface IVsTipWindow
Public Class VsMethodTipWindowClass
Implements VsMethodTipWindow
Inheritance
VsMethodTipWindowClass
Attributes
Implements

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.

Constructors

VsMethodTipWindowClass()

Methods

Dismiss()

The window is being dismissed by the view.

GetContextStream(Int32, Int32)

Returns the context stream.

GetSizePreferences(RECT[], TIPSIZEDATA[])

Returns the preferred sizes for the tip window.

Paint(IntPtr, RECT[])

Paints the tip window.

SetMethodData(IVsMethodData)

Sets method data to display in the method tip window and releases previous method data.

WndProc(IntPtr, UInt32, IntPtr, IntPtr)

Method information not provided. Do not use this method.

Applies to