ConfigurationElementCollection.Reset(ConfigurationElement) メソッド

定義

派生クラスでオーバーライドされると、ConfigurationElementCollection を変更されていない状態にリセットします。

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)

パラメーター

parentElement
ConfigurationElement

コレクションの親要素 (存在する場合) を表す ConfigurationElement 。それ以外の場合は null

注釈

Reset メソッドの既定の動作は、ConfigurationElementCollection オブジェクトに含まれる変更された要素をクリアし、変更された要素を親構成ファイルで指定された値に設定することです。 ConfigurationElementCollection内の要素に子要素がある場合は、それらの子要素に対してもResetが呼び出されます。

適用対象