Partager via


NormalizedSnapshotSpanCollection.ICollection<SnapshotSpan>.ICollection, méthode

Supprime l'étendue spécifiée de la collection. Cette méthode lève une NotSupportedException.

Espace de noms :  Microsoft.VisualStudio.Text
Assembly :  Microsoft.VisualStudio.Text.Data (dans Microsoft.VisualStudio.Text.Data.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les implémentations d'interfaces explicites.

Paramètres

Valeur de retour

Type : Boolean
true si l'étendue a pu être supprimée.Cette méthode lève une NotSupportedException.

Implémentations

ICollection.Remove(UTP)

Sécurité .NET Framework

Voir aussi

Référence

NormalizedSnapshotSpanCollection Classe

Microsoft.VisualStudio.Text, espace de noms