Condividi tramite


IBufferTagAggregatorFactoryService Interface

Creates an ITagAggregator<T> for an ITextBuffer.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Dichiarazione
Public Interface IBufferTagAggregatorFactoryService
public interface IBufferTagAggregatorFactoryService
public interface class IBufferTagAggregatorFactoryService
type IBufferTagAggregatorFactoryService =  interface end
public interface IBufferTagAggregatorFactoryService

Methods

  Name Description
Public method CreateTagAggregator<T>(ITextBuffer) Creates a tag aggregator for the specified text buffer.
Public method CreateTagAggregator<T>(ITextBuffer, TagAggregatorOptions) Creates a tag aggregator for the specified text buffer using the given options.

Top

Remarks

This is a MEF component part, and implementations should use the following to import it:

[Import] IBufferTagAggregatorFactoryService factory = null;

For more information about tagging, see the "Tags and Classifiers" section of Inside the Editor. For information about extending and adding tags, see the "Extending Tags" section of Editor Extension Points.

See Also

Reference

Microsoft.VisualStudio.Text.Tagging Namespace