DesignerRegionCollection::IsSynchronized Property
.NET Framework (current version)
Gets a value indicating whether access to the DesignerRegionCollection object is synchronized (thread safe).
Assembly: System.Design (in System.Design.dll)
Property Value
Type: System::Booleantrue, if access to the DesignerRegionCollection is synchronized; otherwise, false.
Enumerating through a collection is not a thread-safe procedure intrinsically. Even when a collection is synchronized, other threads can still modify the collection. This causes exceptions during enumeration.
Lock the collection by using the SyncRoot method during the whole enumeration to guarantee thread safety.
.NET Framework
Available since 2.0
Available since 2.0
Show: