Collection.ICollection.SyncRoot Collection.ICollection.SyncRoot Collection.ICollection.SyncRoot Property

定义

获取一个对象,该对象可用于同步对 Collection 对象的访问。Gets an object that can be used to synchronize access to the Collection object.

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

属性值

一个对象,该对象可用于同步对 Collection 对象的访问。An object that can be used to synchronize access to the Collection object.

适用于