ErrorTag Class

Definition

An implementation of IErrorTag.

C++/WinRT
[Windows::Foundation::Metadata::WebHostHidden]
class ErrorTag : Microsoft::VisualStudio::Text::Tagging::IErrorTag, Microsoft::VisualStudio::Text::Tagging::ITag
Inheritance
ErrorTag
Implements

Remarks

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 Language Service and Editor Extension Points.

Constructors

ErrorTag()

Initializes a new instance of a ErrorTag of type SyntaxError with no tooltip content.

ErrorTag(String, Object)

Initializes a new instance of a ErrorTag of the specified type.

ErrorTag(String)

Initializes a new instance of a ErrorTag of the specified type with no tooltip content.

Properties

ErrorType

Gets the type of error to use.

ToolTipContent

Gets the content to use when displaying a tooltip for this error. This property may be null.

Applies to

Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022