BaseCollection::SyncRoot Property
.NET Framework (current version)
Gets an object that can be used to synchronize access to the BaseCollection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property Object^ SyncRoot { virtual Object^ get() sealed; }
Implements
ICollection::SyncRootIf, 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.
.NET Framework
Available since 1.1
Available since 1.1
Show: