PrincipalValueCollection<T>.Remove(T) Méthode
Définition
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 l’objet spécifié de la collection.
public:
virtual bool Remove(T value);
public bool Remove(T value);
abstract member Remove : 'T -> bool
override this.Remove : 'T -> bool
Public Function Remove (value As T) As Boolean
Paramètres
- value
- T
Objet à supprimer de la collection.
Retours
Retourne un bool. Retourne true si l’objet a été supprimé ou false si l’objet n’était pas dans la collection.