Compartir a través de


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Remove Method

Definition

Removes the specified span from the collection. This method throws a NotSupportedException.

 virtual bool System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Remove(Microsoft::VisualStudio::Text::SnapshotSpan item) = System::Collections::Generic::ICollection<Microsoft::VisualStudio::Text::SnapshotSpan>::Remove;
bool System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Remove(Microsoft::VisualStudio::Text::SnapshotSpan item);
bool ICollection<SnapshotSpan>.Remove (Microsoft.VisualStudio.Text.SnapshotSpan item);
abstract member System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Remove : Microsoft.VisualStudio.Text.SnapshotSpan -> bool
override this.System.Collections.Generic.ICollection<Microsoft.VisualStudio.Text.SnapshotSpan>.Remove : Microsoft.VisualStudio.Text.SnapshotSpan -> bool
Function Remove (item As SnapshotSpan) As Boolean Implements ICollection(Of SnapshotSpan).Remove

Parameters

item
SnapshotSpan

The snapshot span.

Returns

true if it was possible to remove the span.

Implements

Applies to