SynchronizedCollection<T>::ICollection::SyncRoot Property
.NET Framework (current version)
Gets the object used to synchronize access to the thread-safe collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
private: property Object^ SyncRoot { virtual Object^ get() sealed = ICollection::SyncRoot::get; }
Property Value
Type: System::Object^An object used to synchronize access to the thread-safe collection.
Implements
ICollection::SyncRootThe value of this syncRoot object can be set when creating the thread-safe collection using the SynchronizedCollection<T>(Object^) constructor.
.NET Framework
Available since 3.0
Available since 3.0
Show: