SimpleTagger<T>::RemoveTagSpan Method (TrackingTagSpan<T>^)

 

Removes a tag span that was created by calling CreateTagSpan.

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

public:
bool RemoveTagSpan(
	TrackingTagSpan<T>^ tagSpan
)

Parameters

tagSpan
Type: Microsoft.VisualStudio.Text.Tagging::TrackingTagSpan<T>^

The TrackingTagSpan<T> returned from a previous call to CreateTagSpan.

Return Value

Type: System::Boolean

true if removed successfully, otherwise false.

This method is safe to use from any thread.

Return to top
Show: