Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)
[GuidAttribute("794767F6-538A-4CD3-B29E-6C76C79A7C9C")] [InterfaceTypeAttribute(1)] public interface IVsMethodTipWindow : IVsTipWindow
/** @attribute GuidAttribute("794767F6-538A-4CD3-B29E-6C76C79A7C9C") */ /** @attribute InterfaceTypeAttribute(1) */ public interface IVsMethodTipWindow extends IVsTipWindow
Call this interface from your language service to provide method tips based on what the user is typing in the core editor. To intercept user characters, your language service object must also implement. To pass the text view a pointer to your IOleCommandTarget implementation, call . The command filter intercepts commands that the user types into the code window. Monitor the command information to know when to display method tip information to the user.
The method tip window provides users with hints about where they are in a language construct. When the user types a keyword that the language service can provide hints on, the language service creates an IVsMethodTipWindow object and callsto notify the view that it's time to provide a hint. Create IVsMethodTipWindow using VsLocalCreateInstance and specifying the coclass CLSID_VsMethodTipWindow. VsLocalCreateInstance is a function defined in vsdoc.h that calls QueryService for the local registry and calls CreateInstance on this object for the CLSID_VsMethodTipWindow.
Useto provide a generic tip to the user.
See illustrations of the implementation and/or calling of this interface in the sampleNotes to Implementers Implemented by the core text editor to provide a method tip window. .