ReadOnlyDictionary<TKey,TValue>.KeyCollection.ICollection.IsSynchronized 屬性

定義

取得值,這個值會指出是否同步處理對集合的存取 (具備執行緒安全)。Gets a value that indicates whether access to the collection is synchronized (thread safe).

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

屬性值

Boolean

如果同步處理對集合的存取 (具備執行緒安全),則為 true;否則為 falsetrue if access to the collection is synchronized (thread safe); otherwise, false.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ReadOnlyDictionary<TKey,TValue>.KeyCollection 執行個體轉換成 ICollection 介面時,才能使用這個成員。It can be used only when the ReadOnlyDictionary<TKey,TValue>.KeyCollection instance is cast to an ICollection interface.

適用於