Partager via


ReadOnlyDictionary<TKey, TValue>.ICollection.SyncRoot Property

Returns the root synchronization object for the dictionary, if one occurs.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Déclaration
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
    Get
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
    Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object
private override SyncRoot : Object
JScript does not support explicit interface implementations.

Property Value

Type: System.Object
The root synchronization object for the dictionary; null if no synchronization object occurs.

Implements

ICollection.SyncRoot

.NET Framework Security

See Also

Reference

ReadOnlyDictionary<TKey, TValue> Class

Microsoft.TeamFoundation.Client Namespace