ICollection.SyncRoot Property

ReadOnlyDictionary(Of TKey, TValue).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 dictionary.

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Private ReadOnly Property SyncRoot As Object
	Implements ICollection.SyncRoot

Property Value

Type: System.Object
An object that can be used to synchronize access to the dictionary.

Implements

ICollection.SyncRoot

This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary(Of TKey, TValue) instance is cast to an ICollection interface.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft