DropHandlerBase.DeleteSpans(IList<ITrackingSpan>) Method

Definition

Given a list of ITrackingSpans, deletes them from the buffer.

protected:
 bool DeleteSpans(System::Collections::Generic::IList<Microsoft::VisualStudio::Text::ITrackingSpan ^> ^ spans);
protected bool DeleteSpans (System.Collections.Generic.IList<Microsoft.VisualStudio.Text.ITrackingSpan> spans);
member this.DeleteSpans : System.Collections.Generic.IList<Microsoft.VisualStudio.Text.ITrackingSpan> -> bool
Protected Function DeleteSpans (spans As IList(Of ITrackingSpan)) As Boolean

Parameters

spans
IList<ITrackingSpan>

The list of ITrackingSpan objects.

Returns

false if the deletion was canceled otherwise true.

Applies to