SectionInformation.RevertToParent 方法

定义

导致关联的配置节从其父节继承所有值。Causes the associated configuration section to inherit all its values from the parent section.

public:
 void RevertToParent();
public void RevertToParent ();
member this.RevertToParent : unit -> unit
Public Sub RevertToParent ()

例外

只有在编辑模式下才能调用此方法。This method cannot be called outside editing mode.

适用于