Compartilhar via


Método ICompletionBroker.CreateCompletionSession

Cria uma sessão de conclusão, mas não é iniciado.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (em Microsoft.VisualStudio.Language.Intellisense.dll)

Sintaxe

'Declaração
Function CreateCompletionSession ( _
    textView As ITextView, _
    triggerPoint As ITrackingPoint, _
    trackCaret As Boolean _
) As ICompletionSession
ICompletionSession CreateCompletionSession(
    ITextView textView,
    ITrackingPoint triggerPoint,
    bool trackCaret
)
ICompletionSession^ CreateCompletionSession(
    ITextView^ textView, 
    ITrackingPoint^ triggerPoint, 
    bool trackCaret
)
abstract CreateCompletionSession : 
        textView:ITextView * 
        triggerPoint:ITrackingPoint * 
        trackCaret:bool -> ICompletionSession
function CreateCompletionSession(
    textView : ITextView, 
    triggerPoint : ITrackingPoint, 
    trackCaret : boolean
) : ICompletionSession

Parâmetros

  • trackCaret
    Tipo: Boolean

    trueSe esta sessão deve controlar o cursor, false contrário. Quando o cursor é rastreado, somente os itens de conclusão cuja aplicabilidade span contém o cursor será exibida.

Valor de retorno

Tipo: Microsoft.VisualStudio.Language.Intellisense.ICompletionSession
O ICompletionSession.

Comentários

Você pode usar esse método se você quiser definir algumas propriedades na sessão antes de iniciá-lo.

Segurança do .NET Framework

Consulte também

Referência

ICompletionBroker Interface

Namespace Microsoft.VisualStudio.Language.Intellisense