BaseCollection.SyncRoot プロパティ
定義
BaseCollection へのアクセスを同期するために使用できるオブジェクトを取得します。Gets an object that can be used to synchronize access to the BaseCollection.
public:
property System::Object ^ SyncRoot { System::Object ^ get(); };
[System.ComponentModel.Browsable(false)]
public object SyncRoot { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SyncRoot : obj
Public ReadOnly Property SyncRoot As Object
プロパティ値
BaseCollection を同期するために使用できるオブジェクト。An object that can be used to synchronize the BaseCollection.
実装
- 属性
注釈
の場合と同様に、 BaseCollection プロパティはを IsSynchronized 返し、 false
プロパティは SyncRoot C# のキーワードと共に使用できるオブジェクトを返し lock
ます。If, as is the case with the BaseCollection, the IsSynchronized property returns false
, then the SyncRoot property returns an object that can be used with the C# lock
keyword.