GetErrorTagger Method
Collapse the table of content
Expand the table of content

IErrorProviderFactory.GetErrorTagger Method (ITextBuffer)


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.

Return to top
© 2016 Microsoft