IViewTagAggregatorFactoryService.CreateTagAggregator Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| CreateTagAggregator<T>(ITextView) |
Crée une agrégation de balises pour le ITextView spécifié qui regroupe des balises d'un type donné. |
| CreateTagAggregator<T>(ITextView, TagAggregatorOptions) |
Crée une agrégation de balises pour le ITextView spécifié et avec les options données dans le but de regrouper des balises du type donné. |
CreateTagAggregator<T>(ITextView)
Crée une agrégation de balises pour le ITextView spécifié qui regroupe des balises d'un type donné.
public:
generic <typename T>
where T : Microsoft::VisualStudio::Text::Tagging::ITag Microsoft::VisualStudio::Text::Tagging::ITagAggregator<T> ^ CreateTagAggregator(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T> CreateTagAggregator<T> (Microsoft.VisualStudio.Text.Editor.ITextView textView) where T : Microsoft.VisualStudio.Text.Tagging.ITag;
abstract member CreateTagAggregator : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Tagging.ITagAggregator<'T (requires 'T :> Microsoft.VisualStudio.Text.Tagging.ITag)> (requires 'T :> Microsoft.VisualStudio.Text.Tagging.ITag)
Public Function CreateTagAggregator(Of T As ITag) (textView As ITextView) As ITagAggregator(Of T)
Paramètres de type
- T
Type de la balise à agréger.
Paramètres
- textView
- ITextView
ITextView avec lequel obtenir le ITagAggregator<T>.
Retours
ITagAggregator<T> du type correct pour textView.
Remarques
ITagAggregatorr < T > . L’événement DispatchedTagsChanged est déclenché sur le thread utilisé pour créer l’agrégation de balises.
S’applique à
CreateTagAggregator<T>(ITextView, TagAggregatorOptions)
Crée une agrégation de balises pour le ITextView spécifié et avec les options données dans le but de regrouper des balises du type donné.
public:
generic <typename T>
where T : Microsoft::VisualStudio::Text::Tagging::ITag Microsoft::VisualStudio::Text::Tagging::ITagAggregator<T> ^ CreateTagAggregator(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, Microsoft::VisualStudio::Text::Tagging::TagAggregatorOptions options);
public Microsoft.VisualStudio.Text.Tagging.ITagAggregator<T> CreateTagAggregator<T> (Microsoft.VisualStudio.Text.Editor.ITextView textView, Microsoft.VisualStudio.Text.Tagging.TagAggregatorOptions options) where T : Microsoft.VisualStudio.Text.Tagging.ITag;
abstract member CreateTagAggregator : Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Text.Tagging.TagAggregatorOptions -> Microsoft.VisualStudio.Text.Tagging.ITagAggregator<'T (requires 'T :> Microsoft.VisualStudio.Text.Tagging.ITag)> (requires 'T :> Microsoft.VisualStudio.Text.Tagging.ITag)
Public Function CreateTagAggregator(Of T As ITag) (textView As ITextView, options As TagAggregatorOptions) As ITagAggregator(Of T)
Paramètres de type
- T
Type de la balise à agréger.
Paramètres
- textView
- ITextView
ITextView avec lequel obtenir le ITagAggregator<T>.
- options
- TagAggregatorOptions
Options à utiliser pour l'agrégation nouvellement créée.
Retours
ITagAggregator<T> du type correct pour textView.