IQuickInfoBroker.TriggerQuickInfo Method (ITextView, ITrackingPoint, Boolean)
Triggers Quick Info at the specified position in the buffer, either tracking or not tracking the mouse.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
'宣言
Function TriggerQuickInfo ( _
textView As ITextView, _
triggerPoint As ITrackingPoint, _
trackMouse As Boolean _
) As IQuickInfoSession
IQuickInfoSession TriggerQuickInfo(
ITextView textView,
ITrackingPoint triggerPoint,
bool trackMouse
)
IQuickInfoSession^ TriggerQuickInfo(
ITextView^ textView,
ITrackingPoint^ triggerPoint,
bool trackMouse
)
abstract TriggerQuickInfo :
textView:ITextView *
triggerPoint:ITrackingPoint *
trackMouse:bool -> IQuickInfoSession
function TriggerQuickInfo(
textView : ITextView,
triggerPoint : ITrackingPoint,
trackMouse : boolean
) : IQuickInfoSession
Parameters
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
The ITextView for which Quick Info is to be triggered.
- triggerPoint
Type: Microsoft.VisualStudio.Text.ITrackingPoint
The ITrackingPoint in the text buffer at which Quick Info should be triggered.
- trackMouse
Type: System.Boolean
true if the session should be dismissed when the mouse leaves the applicability span of the session, false otherwise.
Return Value
Type: Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
The IQuickInfoSession.
.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.