TagSpan<T> Class

Definition

The implementation of ITagSpan<T>.

generic <typename T>
 where T : ITagpublic ref class TagSpan : Microsoft::VisualStudio::Text::Tagging::ITagSpan<T>
public class TagSpan<T> : Microsoft.VisualStudio.Text.Tagging.ITagSpan<T> where T : ITag
type TagSpan<'T (requires 'T :> ITag)> = class
    interface ITagSpan<'T (requires 'T :> ITag)>
Public Class TagSpan(Of T)
Implements ITagSpan(Of T)

Type Parameters

T

The type, which must be a subclass of ITag.

Inheritance
TagSpan<T>
Implements

Constructors

TagSpan<T>(SnapshotSpan, T)

Initializes a new instance of a TagSpan<T> with the specified snapshot span and tag.

Properties

Span

Gets the snapshot span for this tag.

Tag

Gets the tag located in this span.

Applies to