Share via


SimpleTagger<T>.RemoveTagSpan Method

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)

Syntax

'Declaration
Public Function RemoveTagSpan ( _
    tagSpan As TrackingTagSpan(Of T) _
) As Boolean
public bool RemoveTagSpan(
    TrackingTagSpan<T> tagSpan
)
public:
bool RemoveTagSpan(
    TrackingTagSpan<T>^ tagSpan
)
member RemoveTagSpan : 
        tagSpan:TrackingTagSpan<'T> -> bool
public function RemoveTagSpan(
    tagSpan : TrackingTagSpan<T>
) : boolean

Parameters

Return Value

Type: System.Boolean
true if removed successfully, otherwise false.

Remarks

This method is safe to use from any thread.

.NET Framework Security

See Also

Reference

SimpleTagger<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace