SynchronizedCollection<T>.ICollection.SyncRoot Proprietà

Definizione

Ottiene l'oggetto utilizzato per sincronizzare l'accesso alla raccolta thread-safe.

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 alla raccolta thread-safe.

Implementazioni

Commenti

Il valore dell'oggetto syncRoot può essere impostato quando si crea la raccolta thread-safe utilizzando il costruttore SynchronizedCollection<T>(Object).

Si applica a