SynchronizedReadOnlyCollection<(Of <(T>)>).ICollection.SyncRoot Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets an object that can be used to synchronize access to the collection.
Namespace: System.Collections.Generic
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
Private ReadOnly Property SyncRoot As Object
Implements ICollection.SyncRoot
Object ICollection.SyncRoot { get; }
Property Value
Type: System..::.Object
An object that can be used to synchronize access to the collection.
Implements
Remarks
Gets 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 #ctor(Object) constructor.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone