Freigeben über


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

'Declaration
Public Interface IViewTagAggregatorFactoryService
public interface IViewTagAggregatorFactoryService
public interface class IViewTagAggregatorFactoryService
type IViewTagAggregatorFactoryService =  interface end
public interface IViewTagAggregatorFactoryService

Methods

  Name Description
Public method CreateTagAggregator<T>(ITextView) Creates a tag aggregator for the specified ITextView that aggregates tags of the given type.
Public method 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;

See Also

Reference

Microsoft.VisualStudio.Text.Tagging Namespace