Condividi tramite


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 (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Dichiarazione
Public Sub CheckCaretPosition ( _
    textView As IVsTextView _
)
'Utilizzo
Dim instance As TextTipData
Dim textView As IVsTextView

instance.CheckCaretPosition(textView)
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

TextTipData Members

Microsoft.VisualStudio.Package Namespace