FrozenSet<T>.ICollection<T>.Remove(T) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Supprime la première occurrence d’un objet spécifique de ICollection<T>.
virtual bool System.Collections.Generic.ICollection<T>.Remove(T item) = System::Collections::Generic::ICollection<T>::Remove;
bool ICollection<T>.Remove (T item);
abstract member System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
override this.System.Collections.Generic.ICollection<T>.Remove : 'T -> bool
Function Remove (item As T) As Boolean Implements ICollection(Of T).Remove
- item
- T
Objet à supprimer de ICollection<T>.
true
si item
a été correctement supprimé de ICollection<T> ; sinon false
. Cette méthode retourne également false
si item
est introuvable dans le ICollection<T> d'origine.
Produit | Versions |
---|---|
.NET | 8, 9 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :