IErrorProviderFactory.GetErrorTagger Method

Gets the cached error tagger for a given ITextBuffer.

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

SimpleTagger<ErrorTag> GetErrorTagger(
	ITextBuffer textBuffer


Type: Microsoft.VisualStudio.Text.ITextBuffer

The ITextBuffer for which to get the error tagger.

Return Value

Type: Microsoft.VisualStudio.Text.Tagging.SimpleTagger<ErrorTag>
The error tagger for the text buffer.

If one does not exist, creates and caches a new SimpleTagger<T> with the ITextBuffer.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft