DropHandlerBase.DeleteSpans(IList<ITrackingSpan>) 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.
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.