Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ReadOnlyDictionary<TKey, TValue>.ValueCollection.ICollection.SyncRoot Property

.NET Framework 4.6 and 4.5

Gets an object that can be used to synchronize access to the collection.

Namespace:  System.Collections.ObjectModel
Assemblies:   System.ObjectModel (in System.ObjectModel.dll)
  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.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft