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
声明
Public Sub CheckCaretPosition ( _
textView As IVsTextView _
)
用法
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
- textView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
The view the text tip floats over.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.