SynchronizedReadOnlyCollection(Of T) Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the SynchronizedReadOnlyCollection(Of T) class from a specified enumerable list of elements and with the object used to synchronize access to the thread-safe, read-only collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- syncRoot
- Type: System.Object
The object used to synchronize access to the thread-safe, read-only collection.
- list
- Type: System.Collections.Generic.IEnumerable(Of T)
The IEnumerable(Of T) collection of elements used to initialize the thread-safe, read-only collection.
Show: