SimpleTagger(Of T) Class

 

Provides simple, thread-safe storage of and interaction with tags of the given type.

Namespace:   Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

System.Object
  Microsoft.VisualStudio.Text.Tagging.SimpleTagger(Of T)

Public Class SimpleTagger(Of T As ITag)
	Implements ITagger(Of T)

Type Parameters

T

The type, which must be a subtype of ITag.

NameDescription
System_CAPS_pubmethodSimpleTagger(Of T)(ITextBuffer)

Initializes a new instance of SimpleTagger(Of T) for the specified buffer.

NameDescription
System_CAPS_pubmethodCreateTagSpan(ITrackingSpan, T)

Adds a tag over the given span.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetTaggedSpans(SnapshotSpan)

Gets the tagged spans that intersect the given SnapshotSpan.

System_CAPS_pubmethodGetTags(NormalizedSnapshotSpanCollection)

Gets all the tags that overlap the spans in the specified snapshot of the desired type.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveTagSpan(TrackingTagSpan(Of T))

Removes a tag span that was created by calling CreateTagSpan.

System_CAPS_pubmethodRemoveTagSpans(Predicate(Of TrackingTagSpan(Of T)))

Removes all tag spans that match the conditions specified by the predicate.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdate()

Gets an IDisposable object that represents an update batch.

NameDescription
System_CAPS_pubeventTagsChanged

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.

Return to top
Show: