ConcurrentDictionary<TKey,TValue>.ICollection.IsSynchronized ConcurrentDictionary<TKey,TValue>.ICollection.IsSynchronized ConcurrentDictionary<TKey,TValue>.ICollection.IsSynchronized Property

定義

取得值,指出 ICollection 的存取是否與 SyncRoot 同步。Gets a value that indicates whether access to the ICollection is synchronized with the SyncRoot.

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

屬性值

如果 true 的存取為同步 (安全執行緒),則為 ICollection,否則為 falsetrue if access to the ICollection is synchronized (thread safe); otherwise, false. 針對ConcurrentDictionary<TKey,TValue>這個屬性一律傳回falseFor ConcurrentDictionary<TKey,TValue> this property always returns false.

實作

適用於

另請參閱