共用方式為


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

'宣告
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: System.Boolean
false if the deletion was canceled otherwise true.

.NET Framework Security

See Also

Reference

DropHandlerBase Class

Microsoft.VisualStudio.Text.Editor.DragDrop Namespace