編集

次の方法で共有


SynchronizedCollection<T>.SyncRoot Property

Definition

Gets the object used to synchronize access to the thread-safe collection.

public:
 property System::Object ^ SyncRoot { System::Object ^ get(); };
public object SyncRoot { get; }
member this.SyncRoot : obj
Public ReadOnly Property SyncRoot As Object

Property Value

An object used to synchronize access to the thread-safe collection.

Applies to