Share via


TextTipData.CheckCaretPosition Method

Dismisses the tool tip based on mouse proximity to something that has a tool tip.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.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

'Declaration
Public Sub CheckCaretPosition ( _
    textView As IVsTextView _
)
public void CheckCaretPosition(
    IVsTextView textView
)
public:
void CheckCaretPosition(
    IVsTextView^ textView
)
member CheckCaretPosition : 
        textView:IVsTextView -> unit
public function CheckCaretPosition(
    textView : IVsTextView
)

Parameters

Remarks

The screen location where the user is interacting with the user interface artifact is called the caret. If the caret is located before the item that floats a tool tip or the caret is beyond the current position of the tool tip plus the length of the tool tip, dismiss the tip.

.NET Framework Security

See Also

Reference

TextTipData Class

Microsoft.VisualStudio.Package Namespace