SynchronizedReadOnlyCollection<T>.ICollection.SyncRoot プロパティ
定義
スレッドセーフの読み取り専用コレクションへのアクセスを同期するために使用するオブジェクトを取得します。Gets the object used to synchronize access to the thread-safe, read-only collection.
property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
member this.System.Collections.ICollection.SyncRoot : obj
ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot
プロパティ値
スレッド セーフの読み取り専用コレクションへのアクセスを同期するために使用するオブジェクト。The object used to synchronize access to the thread-safe, read-only collection.
実装
注釈
syncRoot
コンストラクターを使用してスレッドセーフ コレクションを作成する場合にこの SynchronizedReadOnlyCollection<T>(Object) オブジェクトの値を設定できます。The value of this syncRoot
object can be set when creating the thread-safe collection using the SynchronizedReadOnlyCollection<T>(Object) constructor.