Compartir a través de


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.ICollection 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

'Declaration
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: Boolean
true if it was possible to remove the span. This method throws a NotSupportedException.

Implements

ICollection.Remove(UTP)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace