共用方式為


TextMarkerTag Class

Definition

Represents the text marker tag, which is used to place text marker adornments on a view.

public ref class TextMarkerTag : Microsoft::VisualStudio::Text::Tagging::ITag, Microsoft::VisualStudio::Text::Tagging::ITextMarkerTag
[Windows::Foundation::Metadata::WebHostHidden]
class TextMarkerTag : Microsoft::VisualStudio::Text::Tagging::ITag, Microsoft::VisualStudio::Text::Tagging::ITextMarkerTag
public class TextMarkerTag : Microsoft.VisualStudio.Text.Tagging.ITag, Microsoft.VisualStudio.Text.Tagging.ITextMarkerTag
type TextMarkerTag = class
    interface ITextMarkerTag
    interface ITag
Public Class TextMarkerTag
Implements ITag, ITextMarkerTag
Inheritance
TextMarkerTag
Implements

Remarks

For more information about how to use a TextMarkerTag, see Walkthrough: Displaying Matching Braces.

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

TextMarkerTag(String)

Initializes a new instance of a TextMarkerTag of the given type.

Properties

Type

Gets the type of adornment to use.

Applies to