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
'Declaración
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
- 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.
Remarks
This method is safe to use from any thread.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.