Partilhar via


IErrorProviderFactory Interface

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.

Namespace:  Microsoft.VisualStudio.Text.Adornments
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaração
Public Interface IErrorProviderFactory
public interface IErrorProviderFactory
public interface class IErrorProviderFactory
type IErrorProviderFactory =  interface end
public interface IErrorProviderFactory

The IErrorProviderFactory type exposes the following members.

Methods

  Name Description
Public method GetErrorTagger Gets the cached error tagger for a given ITextBuffer.

Top

Remarks

This is a MEF component part, and should be imported as follows:

[Import]
internal IErrorProviderFactory TestProviderFactory = null;

See Also

Reference

Microsoft.VisualStudio.Text.Adornments Namespace