次の方法で共有


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

'Declaration
Private ReadOnly Property SyncRoot As Object 
    Implements ICollection.SyncRoot
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
    Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object with get 
private override SyncRoot : Object with get
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