SimpleTagger<T> Class
Provides simple, thread-safe storage of and interaction with tags of the given type.
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
| Name | Description | |
|---|---|---|
![]() | SimpleTagger<T>(ITextBuffer) | Initializes a new instance of SimpleTagger<T> for the specified buffer. |
| Name | Description | |
|---|---|---|
![]() | CreateTagSpan(ITrackingSpan, T) | Adds a tag over the given span. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetTaggedSpans(SnapshotSpan) | Gets the tagged spans that intersect the given SnapshotSpan. |
![]() | GetTags(NormalizedSnapshotSpanCollection) | Gets all the tags that overlap the spans in the specified snapshot of the desired type. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveTagSpan(TrackingTagSpan<T>) | Removes a tag span that was created by calling CreateTagSpan. |
![]() | RemoveTagSpans(Predicate<TrackingTagSpan<T>>) | Removes all tag spans that match the conditions specified by the predicate. |
![]() | ToString() | (Inherited from Object.) |
![]() | Update() | Gets an IDisposable object that represents an update batch. |
| Name | Description | |
|---|---|---|
![]() | TagsChanged | Occurs when one or more tags have been added or removed. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


