ConcurrentDictionary<TKey,TValue>.Count Propriété
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.
Obtient le nombre de paires clé/valeur contenues dans ConcurrentDictionary<TKey,TValue>.
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
Valeur de propriété
Nombre de paires clé/valeur contenues dans ConcurrentDictionary<TKey,TValue>.
Implémente
Exceptions
Le dictionnaire contient trop d’éléments.
Remarques
Cette propriété a une sémantique d’instantané et représente le nombre d’éléments dans le System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> au moment où la propriété a été accédée.
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Envoyer et afficher des commentaires pour