SortedSet<T>.ICollection.SyncRoot Propriedade

Definição

Obtém um objeto que pode ser usado para sincronizar o acesso ao ICollection.Gets an object that can be used to synchronize access to the ICollection.

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

Valor da propriedade

Object

Um objeto que pode ser usado para sincronizar o acesso à ICollection.An object that can be used to synchronize access to the ICollection. Na implementação padrão da Dictionary<TKey,TValue>.KeyCollection, essa propriedade sempre retorna a instância atual.In the default implementation of Dictionary<TKey,TValue>.KeyCollection, this property always returns the current instance.

Implementações

Comentários

Este membro é uma implementação do membro de interface explícita.This member is an explicit interface member implementation. Ele só pode ser usado quando a instância de SortedSet<T> é convertida em uma interface de ICollection.It can be used only when the SortedSet<T> instance is cast to an ICollection interface.

Esse método é uma O(1) operação.This method is an O(1) operation.

Aplica-se a