DataViewSettingCollection::SyncRoot Property
.NET Framework (current version)
Gets an object that can be used to synchronize access to the DataViewSettingCollection.
Assembly: System.Data (in System.Data.dll)
public: [BrowsableAttribute(false)] property Object^ SyncRoot { virtual Object^ get() sealed; }
Property Value
Type: System::Object^An object that can be used to synchronize access to the DataViewSettingCollection.
Implements
ICollection::SyncRootDerived classes can provide a synchronized version of the DataViewSettingCollection using the SyncRoot property.
Program code must always perform synchronized operations on the SyncRoot of the DataViewSettingCollection, not directly on the DataViewSettingCollection. This guarantees the correct operation of collections that are derived from other objects. Specifically, it maintains the correct synchronization with other threads that might be simultaneously modifying the DataViewSettingCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: