Collection.ICollection.SyncRoot 屬性

定義

取得可用來同步處理對 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; }
System.Collections.ICollection.SyncRoot
 ReadOnly Property ICollectionSyncRoot As Object Implements ICollection.SyncRoot

屬性值

可用來同步處理對 Collection 物件之存取的物件。An object that can be used to synchronize access to the Collection object.

適用於