Compartilhar via


Método IViewTagAggregatorFactoryService.CreateTagAggregator<T> (ITextView, TagAggregatorOptions)

Cria um agregador de marca para o especificado ITextView e com as opções de determinado que agrega as marcas de determinado tipo.

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

Sintaxe

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

Parâmetros de tipo

  • T
    O tipo de marca para agregar.

Parâmetros

Valor de retorno

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

Segurança do .NET Framework

Consulte também

Referência

IViewTagAggregatorFactoryService Interface

Sobrecargas CreateTagAggregator

Namespace Microsoft.VisualStudio.Text.Tagging