ReadOnlyDictionary<TKey,TValue>.ICollection.IsSynchronized 属性

定义

获取一个值,该值指示对字典的访问是否同步(线程安全)。Gets a value that indicates whether access to the dictionary 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 dictionary is synchronized (thread safe); otherwise, false.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ReadOnlyDictionary<TKey,TValue> 实例被强制转换为 ICollection 接口时使用。It can be used only when the ReadOnlyDictionary<TKey,TValue> instance is cast to an ICollection interface.

适用于