Partager via


ViewFilter.HandleQuickInfo Method

Handles the QUICKINFO command to show tool tip information about the selected identifier or expression.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Déclaration
Public Overridable Sub HandleQuickInfo
'Utilisation
Dim instance As ViewFilter

instance.HandleQuickInfo()
public virtual void HandleQuickInfo()
public:
virtual void HandleQuickInfo()
abstract HandleQuickInfo : unit -> unit 
override HandleQuickInfo : unit -> unit 
public function HandleQuickInfo()

Remarks

This method is responsible for showing the tool tip holding any tool tip information about the identifier at the current location.

The base method calls the GetCaretPos method on the IVsTextView object passed to the ViewFilter constructor to obtain the current caret position. This position is then passed to the OnSyncQuickInfo(IVsTextView, Int32, Int32) method on the Source object (obtained from the CodeWindowManager object in the ViewFilter constructor). If OnSyncQuickInfo(IVsTextView, Int32, Int32) returns any text, this method next calls the GetFullDataTipText method to get any additional information from the debugger if debugging is active. Finally, a new (or current) TextTipData object is used to display the tool tip.

In the default managed package framework's implementation of the language service classes, this method is called from the HandlePreExec method.

.NET Framework Security

See Also

Reference

ViewFilter Class

ViewFilter Members

Microsoft.VisualStudio.Package Namespace