ICollection.SyncRoot Property

DependencyObjectCollection<T>.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.Windows
Assembly:  System.Windows (in System.Windows.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 DependencyObjectCollection<T> instance is cast to an ICollection interface.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft