ConcurrentDictionary<TKey,TValue>.ICollection.SyncRoot Property

Definition

Gets an object that can be used to synchronize access to the ICollection. This property is not supported.

property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
member this.System.Collections.ICollection.SyncRoot : obj
 ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot

Property Value

Object

Always returns null.

Implements

Exceptions

This property is not supported.

Remarks

This member is an explicit interface member implementation. It can be used only when the ConcurrentDictionary<TKey,TValue> instance is cast to an ICollection interface.

Applies to

See also