Compartilhar via


DropHandlerBase.DeleteSpans Method

Deletes the specified spans from the buffer.

Namespace:  Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Protected Function DeleteSpans ( _
    spans As IList(Of ITrackingSpan) _
) As Boolean
protected bool DeleteSpans(
    IList<ITrackingSpan> spans
)
protected:
bool DeleteSpans(
    IList<ITrackingSpan^>^ spans
)
member DeleteSpans : 
        spans:IList<ITrackingSpan> -> bool
protected function DeleteSpans(
    spans : IList<ITrackingSpan>
) : boolean

Parameters

Return Value

Type: Boolean
false if the deletion was canceled otherwise true.

.NET Framework Security

See Also

Reference

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace