NameValueCollection.InvalidateCachedArrays Método
Definição
Redefine as matrizes em cache da coleção como null.Resets the cached arrays of the collection to null.
protected:
void InvalidateCachedArrays();
protected void InvalidateCachedArrays ();
member this.InvalidateCachedArrays : unit -> unit
Protected Sub InvalidateCachedArrays ()
Comentários
As matrizes retornadas pelo AllKeys são armazenadas em cache para melhorar o desempenho e são atualizadas automaticamente quando a coleção é alterada.The arrays returned by AllKeys are cached for better performance and are automatically refreshed when the collection changes. Uma classe derivada pode invalidar a versão armazenada em cache chamando InvalidateCachedArrays , forçando assim as matrizes serem recriadas.A derived class can invalidate the cached version by calling InvalidateCachedArrays, thereby forcing the arrays to be recreated.
Este método é uma operação O(1).This method is an O(1) operation.