Compartir a través de


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.Remove Method

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

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaración
Private Function Remove ( _
    item As SnapshotSpan _
) As Boolean Implements ICollection(Of SnapshotSpan).Remove
bool ICollection<SnapshotSpan>.Remove(
    SnapshotSpan item
)
private:
virtual bool Remove(
    SnapshotSpan item
) sealed = ICollection<SnapshotSpan>::Remove
private abstract Remove : 
        item:SnapshotSpan -> bool 
private override Remove : 
        item:SnapshotSpan -> bool 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
true if it was possible to remove the span. This method throws a NotSupportedException.

Implements

ICollection<T>.Remove(T)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace