Share via


IBufferTagAggregatorFactoryService, interface

Crée un ITagAggregator<T> pour un ITextBuffer.

Espace de noms :  Microsoft.VisualStudio.Text.Tagging
Assembly :  Microsoft.VisualStudio.Text.Logic (dans Microsoft.VisualStudio.Text.Logic.dll)

Syntaxe

'Déclaration
Public Interface IBufferTagAggregatorFactoryService
public interface IBufferTagAggregatorFactoryService
public interface class IBufferTagAggregatorFactoryService
type IBufferTagAggregatorFactoryService =  interface end
public interface IBufferTagAggregatorFactoryService

Méthodes

  Nom Description
Méthode publique CreateTagAggregator<T>(ITextBuffer) Crée une fonction d'agrégation de balises pour la mémoire tampon de texte spécifiée.
Méthode publique CreateTagAggregator<T>(ITextBuffer, TagAggregatorOptions) Crée une fonction d'agrégation de balises pour la mémoire tampon de texte spécifiée à l'aide de les options données.

Début

Notes

C'est un composant MEF, et les implémentations doivent utiliser le suivant pour l'importer :

[Import] IBufferTagAggregatorFactoryService factory = null;

Pour plus d'informations sur référencer, voyez la section « balises et de classifieurs » d'à l'intérieur de l'éditeur. Pour plus d'informations sur étendre et ajouter des balises, voyez « étendre référence » la section d'Points d'extension de l'éditeur.

Voir aussi

Référence

Microsoft.VisualStudio.Text.Tagging, espace de noms