Partilhar via


Método IViewTaggerProvider.CreateTagger<T>

Cria um provedor de marca para o buffer e o modo de exibição especificado.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.UI (em Microsoft.VisualStudio.Text.UI.dll)

Sintaxe

'Declaração
Function CreateTagger(Of T As ITag) ( _
    textView As ITextView, _
    buffer As ITextBuffer _
) As ITagger(Of T)
ITagger<T> CreateTagger<T>(
    ITextView textView,
    ITextBuffer buffer
)
where T : ITag
generic<typename T>
where T : ITag 
ITagger<T>^ CreateTagger(
    ITextView^ textView, 
    ITextBuffer^ buffer
)
abstract CreateTagger : 
        textView:ITextView * 
        buffer:ITextBuffer -> ITagger<'T>  when 'T : ITag
JScript não oferece suporte a tipos ou métodos genéricos.

Parâmetros de tipo

  • T
    O tipo da marca.

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.Text.Tagging.ITagger<T>
O ITagAggregator<T> do tipo correto para textView.

Segurança do .NET Framework

Consulte também

Referência

IViewTaggerProvider Interface

Namespace Microsoft.VisualStudio.Text.Tagging