Język

ConfigurationElementCollection.Reset(ConfigurationElement) Metoda

Definicja

Resetuje ConfigurationElementCollection do stanu niezmodyfikowanego podczas zastępowania w klasie pochodnej.

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);
protected override void Reset(System.Configuration.ConfigurationElement parentElement);
override this.Reset : System.Configuration.ConfigurationElement -> unit
Protected Friend Overrides Sub Reset (parentElement As ConfigurationElement)
Protected Overrides Sub Reset (parentElement As ConfigurationElement)

Parametry

parentElement
ConfigurationElement

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

Uwagi

Domyślnym zachowaniem Reset metody jest wyczyszczenie wszelkich zmodyfikowanych elementów, ConfigurationElementCollection które zawiera obiekt i ustawienie zmodyfikowanych elementów na wartości określone przez ich 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