SimpleTagger<T>.RemoveTagSpan(TrackingTagSpan<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a tag span that was created by calling CreateTagSpan(ITrackingSpan, T).
public:
bool RemoveTagSpan(Microsoft::VisualStudio::Text::Tagging::TrackingTagSpan<T> ^ tagSpan);
public bool RemoveTagSpan (Microsoft.VisualStudio.Text.Tagging.TrackingTagSpan<T> tagSpan);
member this.RemoveTagSpan : Microsoft.VisualStudio.Text.Tagging.TrackingTagSpan<'T (requires 'T :> Microsoft.VisualStudio.Text.Tagging.ITag)> -> bool
Public Function RemoveTagSpan (tagSpan As TrackingTagSpan(Of T)) As Boolean
Parameters
- tagSpan
- TrackingTagSpan<T>
The TrackingTagSpan<T> returned from a previous call to CreateTagSpan(ITrackingSpan, T).
Returns
true
if removed successfully, otherwise false
.
Remarks
This method is safe to use from any thread.