Método IViewTagAggregatorFactoryService.CreateTagAggregator<T> (ITextView)
Cria um agregador de marca para o especificado ITextView 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 _
) As ITagAggregator(Of T)
ITagAggregator<T> CreateTagAggregator<T>(
ITextView textView
)
where T : ITag
generic<typename T>
where T : ITag
ITagAggregator<T>^ CreateTagAggregator(
ITextView^ textView
)
abstract CreateTagAggregator :
textView:ITextView -> 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
textView
Tipo: Microsoft.VisualStudio.Text.Editor.ITextViewO ITextView com o qual deseja obter o ITagAggregator<T>.
Valor de retorno
Tipo: Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T>
O ITagAggregator<T> do tipo correto para textView.
Comentários
O BatchedTagsChanged evento será gerado no thread usado para criar o agregador de marca.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.
Consulte também
Referência
IViewTagAggregatorFactoryService Interface