NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.