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
item
Typ: Microsoft.VisualStudio.Text.SnapshotSpanDas zu entfernende Element.
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
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.