IViewTagAggregatorFactoryService Interface
A service that creates an ITagAggregator<T> for an ITextView.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣告
Public Interface IViewTagAggregatorFactoryService
public interface IViewTagAggregatorFactoryService
public interface class IViewTagAggregatorFactoryService
type IViewTagAggregatorFactoryService = interface end
public interface IViewTagAggregatorFactoryService
Methods
Name | Description | |
---|---|---|
CreateTagAggregator<T>(ITextView) | Creates a tag aggregator for the specified ITextView that aggregates tags of the given type. | |
CreateTagAggregator<T>(ITextView, TagAggregatorOptions) | Creates a tag aggregator for the specified ITextView and with the given options that aggregates tags of the given type. |
Top
Remarks
This is a MEF component part, and should be imported as follows:
[Import]
IViewLevelTagAggregatorFactoryService factory = null;