IQuickInfoBroker.TriggerQuickInfo 方法 (ITextView)
在指定 ITextView 的插入號位置上觸發快速諮詢。
命名空間: Microsoft.VisualStudio.Language.Intellisense
組件: Microsoft.VisualStudio.Language.Intellisense (在 Microsoft.VisualStudio.Language.Intellisense.dll 中)
語法
'宣告
Function TriggerQuickInfo ( _
textView As ITextView _
) As IQuickInfoSession
IQuickInfoSession TriggerQuickInfo(
ITextView textView
)
IQuickInfoSession^ TriggerQuickInfo(
ITextView^ textView
)
abstract TriggerQuickInfo :
textView:ITextView -> IQuickInfoSession
function TriggerQuickInfo(
textView : ITextView
) : IQuickInfoSession
參數
textView
類型:Microsoft.VisualStudio.Text.Editor.ITextView要觸發快速諮詢的 ITextView。
傳回值
類型:Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSession
IQuickInfoSession 。
備註
使用快速諮詢觸發在ITextView來附加此代理人。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。