ConfigurationElementCollection.Reset(ConfigurationElement) Metoda

Definicja

Resetuje element ConfigurationElementCollection do stanu niezmodyfikowanego po przesłonięciu w klasie pochodnej.

protected:
 override void Reset(System::Configuration::ConfigurationElement ^ parentElement);
protected public:
 override void Reset(System::Configuration::ConfigurationElement ^ parentElement);
protected override void Reset (System.Configuration.ConfigurationElement parentElement);
protected internal override void Reset (System.Configuration.ConfigurationElement parentElement);
override this.Reset : System.Configuration.ConfigurationElement -> unit
Protected Overrides Sub Reset (parentElement As ConfigurationElement)
Protected Friend Overrides Sub Reset (parentElement As ConfigurationElement)

Parametry

parentElement
ConfigurationElement

Reprezentująca ConfigurationElement element nadrzędny kolekcji, jeśli istnieje; w przeciwnym razie null.

Uwagi

Domyślnym zachowaniem Reset metody jest wyczyszczenie wszystkich zmodyfikowanych elementów, które zawiera obiekt i ustawienie zmodyfikowanych elementów ConfigurationElementCollection na wartości określone przez nadrzędny plik konfiguracji. Jeśli którykolwiek element w obiekcie ConfigurationElementCollection zawiera elementy podrzędne, Reset jest również wywoływany dla tych elementów podrzędnych.

Dotyczy