Bewerken

Delen via


ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Reset Method

Definition

Resets this collection to its unmodified state when overridden in a derived class.

protected:
 override void Reset(System::Configuration::ConfigurationElement ^ parentElement);
[System.Security.SecurityCritical]
protected override void Reset (System.Configuration.ConfigurationElement parentElement);
[<System.Security.SecurityCritical>]
override this.Reset : System.Configuration.ConfigurationElement -> unit
Protected Overrides Sub Reset (parentElement As ConfigurationElement)

Parameters

parentElement
ConfigurationElement

The parent ConfigurationElement object of the current element, or null if this is the top level.

Attributes

Remarks

The default behavior for this method is to clear any modified elements a collection contains and to set the modified elements to the values specified by their parent configuration file. If any element in the collection has child elements, this method is also called on those child elements.

Applies to