DictionaryBase.Clear Método
Definição
Limpa o conteúdo da instância DictionaryBase.Clears the contents of the DictionaryBase instance.
public:
virtual void Clear();
public void Clear ();
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()
Implementações
Comentários
Count está definido como zero, e referências a outros objetos a partir de elementos da coleção também são liberados.Count is set to zero, and references to other objects from elements of the collection are also released.
Esse método é uma O(n) operação, em que n é Count .This method is an O(n) operation, where n is Count.