ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Reset Method (ConfigurationElement)

 

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[SecurityCriticalAttribute]
protected override void Reset(
	ConfigurationElement parentElement
)

Parameters

parentElement
Type: System.Configuration.ConfigurationElement

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

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.

.NET Framework
Available since 3.0
Return to top
Show: