OrderedDictionary<TKey,TValue>.ICollection.SyncRoot Property

Definition

Gets an object that can be used to synchronize access to the ICollection.

C#
object System.Collections.ICollection.SyncRoot { get; }

Property Value

An object that can be used to synchronize access to the ICollection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the <xref:System.Collections.Generic.OrderedDictionary`2> instance is cast to an <xref:System.Collections.ICollection> interface.

Applies to

Product Versions
.NET 9