共用方式為


ErrorTag Class

Definition

An implementation of IErrorTag.

public ref class ErrorTag : Microsoft::VisualStudio::Text::Tagging::IErrorTag, Microsoft::VisualStudio::Text::Tagging::ITag
[Windows::Foundation::Metadata::WebHostHidden]
class ErrorTag : Microsoft::VisualStudio::Text::Tagging::IErrorTag, Microsoft::VisualStudio::Text::Tagging::ITag
public class ErrorTag : Microsoft.VisualStudio.Text.Tagging.IErrorTag, Microsoft.VisualStudio.Text.Tagging.ITag
type ErrorTag = class
    interface IErrorTag
    interface ITag
Public Class ErrorTag
Implements IErrorTag, 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