SynchronizedReadOnlyCollection<T>.ICollection.SyncRoot Proprietà

Definizione

Ottiene l'oggetto utilizzato per sincronizzare l'accesso all'insieme thread-safe di sola lettura.

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

Valore della proprietà

Oggetto utilizzato per sincronizzare l'accesso all'insieme thread-safe di sola lettura.

Implementazioni

Commenti

Il valore di questo syncRoot oggetto può essere impostato quando si crea la raccolta thread-safe usando il SynchronizedReadOnlyCollection<T>(Object) costruttore .

Si applica a