ICollection.SyncRoot Property
Collapse the table of content
Expand the table of content

ReadOnlyDictionary<TKey, TValue>.ValueCollection.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.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

Object ICollection.SyncRoot { get; }

Property Value

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

Implements

ICollection.SyncRoot

This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary<TKey, TValue>.ValueCollection instance is cast to an ICollection interface.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft