Freigeben über


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.ICollection-Methode

Entfernt die angegebene Spanne aus der Auflistung. Diese Methode löst eine NotSupportedException aus.

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 unterstützt keine expliziten Schnittstellenimplementierungen

Parameter

Rückgabewert

Typ: Boolean
true , wenn das Entfernen der Spanne möglich war.Diese Methode löst eine NotSupportedException aus.

Implementiert

ICollection.Remove(UTP)

.NET Framework-Sicherheit

Siehe auch

Referenz

NormalizedSnapshotSpanCollection Klasse

Microsoft.VisualStudio.Text-Namespace