ReadOnlyDictionary<TKey,TValue>.KeyCollection.ICollection.SyncRoot ReadOnlyDictionary<TKey,TValue>.KeyCollection.ICollection.SyncRoot ReadOnlyDictionary<TKey,TValue>.KeyCollection.ICollection.SyncRoot Property

定义

获取可用于同步对集合的访问的对象。Gets an object that can be used to synchronize access to the collection.

property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
 ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot

属性值

可用于同步集合访问的对象。An object that can be used to synchronize access to the collection.

实现

注解

此成员是显式接口成员的实现。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.

适用于