ConcurrentBag<T>.ICollection.SyncRoot Proprietà

Definizione

Ottiene un oggetto che può essere usato per sincronizzare l'accesso a ICollection. Questa proprietà non è supportata.

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à

Restituisce null.

Implementazioni

Eccezioni

La proprietà SyncRoot non è supportata.

Commenti

Questo membro è un’implementazione esplicita di un membro di interfaccia. Può essere utilizzato solo quando si esegue il cast dell'istanza ConcurrentBag<T> a un'interfaccia ICollection.

Si applica a

Vedi anche