Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: System.Collections.Generic.IList<ITrackingSpan>
The list of ITrackingSpan objects.
Return Value
Type: System.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.