IToolTipService.CreatePresenter(ITextView, ToolTipParameters) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的不可见的工具提示。
public Microsoft.VisualStudio.Text.Adornments.IToolTipPresenter CreatePresenter (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.Adornments.ToolTipParameters parameters = default);
abstract member CreatePresenter : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.Adornments.ToolTipParameters -> Microsoft.VisualStudio.Text.Adornments.IToolTipPresenter
Public Function CreatePresenter (textView As ITextView, Optional parameters As ToolTipParameters = Nothing) As IToolTipPresenter
参数
- textView
- ITextView
拥有工具提示的视图。
- parameters
- ToolTipParameters
用于创建工具提示的参数。 默认值为 "鼠标跟踪"。
返回
新的不可见 IToolTipPresenter 。