Export (0) Print
Expand All

ReadOnlyDictionary<TKey, TValue>.KeyCollection.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:   mscorlib (in mscorlib.dll)
  System.ObjectModel (in System.ObjectModel.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>.KeyCollection instance is cast to an ICollection interface.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

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