TagSpan<T> Class

Definition

The implementation of ITagSpan<T>.

C++
generic <typename T>
 where T : ITagpublic ref class TagSpan : Microsoft::VisualStudio::Text::Tagging::ITagSpan<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

Ürün Sürümler
Visual Studio SDK 2015, 2017, 2019, 2022