ICompletionBroker.TriggerCompletion 方法 (ITextView)

启动语句完成过程,假定插入符号位置为应插入完成项的位置。

命名空间:  Microsoft.VisualStudio.Language.Intellisense
程序集:  Microsoft.VisualStudio.Language.Intellisense(在 Microsoft.VisualStudio.Language.Intellisense.dll 中)

语法

声明
Function TriggerCompletion ( _
    textView As ITextView _
) As ICompletionSession
ICompletionSession TriggerCompletion(
    ITextView textView
)
ICompletionSession^ TriggerCompletion(
    ITextView^ textView
)
abstract TriggerCompletion : 
        textView:ITextView -> ICompletionSession
function TriggerCompletion(
    textView : ITextView
) : ICompletionSession

参数

返回值

类型:Microsoft.VisualStudio.Language.Intellisense.ICompletionSession
IStatementCompletionSession。会话,如果无法创建,则可能是 nullnull 引用(在 Visual Basic 中为 Nothing) 。

备注

在插入符号在此会议中的所有完成保留适用范围,则会议将关闭。

.NET Framework 安全性

请参阅

参考

ICompletionBroker 接口

TriggerCompletion 重载

Microsoft.VisualStudio.Language.Intellisense 命名空间