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
spans
Type: IList<ITrackingSpan>The list of ITrackingSpan objects.
Return Value
Type: Boolean
false if the deletion was canceled otherwise true.
.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.