ConcurrentDictionary<TKey,TValue>.ICollection.IsSynchronized Propriété

Définition

Obtient une valeur qui indique si l’accès à ICollection est synchronisé avec SyncRoot.

property bool System::Collections::ICollection::IsSynchronized { bool get(); };
bool System.Collections.ICollection.IsSynchronized { get; }
member this.System.Collections.ICollection.IsSynchronized : bool
 ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized

Valeur de propriété

Boolean

true si l'accès à ICollection est synchronisé (thread-safe) ; sinon false. Pour ConcurrentDictionary<TKey,TValue> cette propriété, elle retourne falsetoujours .

Implémente

Remarques

Ce membre est une implémentation d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de ConcurrentDictionary<TKey,TValue> est castée en interface ICollection.

S’applique à

Voir aussi