SynchronizedReadOnlyCollection<T>::ICollection::SyncRoot Property

 

Gets the object used to synchronize access to the thread-safe, read-only collection.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private:
property Object^ SyncRoot {
	virtual Object^ get() sealed = ICollection::SyncRoot::get;
}

Property Value

Type: System::Object^

Returns Object.

The object used to synchronize access to the thread-safe, read-only collection.

The value of this syncRoot object can be set when creating the thread-safe collection using the SynchronizedReadOnlyCollection<T>(Object^) constructor.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: