IErrorProviderFactory Interface

Definition

Gets a error tagger (a SimpleTagger<T> of type ErrorTag) for the given buffer, or creates a new one if there is no error tagger already cached in the owned properties of the buffer.

C++/CX
public interface class IErrorProviderFactory

Remarks

This is a MEF somponent part, and should be exported with the following attribute: [Export(typeof(IErrorProviderFactory))]

Methods

GetErrorTagger(ITextBuffer)

Gets the cached error tagger for a given ITextBuffer. If one does not exist, creates and caches a new SimpleTagger<T> with the ITextBuffer.

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022