ImmutableHashSet<T>.Builder.Add(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.
Ajoute l’élément spécifié à l’ensemble immuable de hachage.
public:
virtual bool Add(T item);
public bool Add (T item);
abstract member Add : 'T -> bool
override this.Add : 'T -> bool
Public Function Add (item As T) As Boolean
Paramètres
- item
- T
Élément à ajouter.
Retours
true si l’élément n’appartient pas déjà à la collection ; sinon, false.