TextMarkerTag Class

Definition

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

public class TextMarkerTag : Microsoft.VisualStudio.Text.Tagging.ITag, Microsoft.VisualStudio.Text.Tagging.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.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to