The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SectionInformation::OverrideModeDefault Property
.NET Framework (current version)
Gets or sets a value that specifies the default override behavior of a configuration section by child configuration files.
Assembly: System.Configuration (in System.Configuration.dll)
public: property OverrideMode OverrideModeDefault { OverrideMode get(); void set(OverrideMode value); }
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | The override behavior is specified in a parent configuration section. |
The OverrideModeDefault property of a configuration section can only be set to the Allow or Deny value of the OverrideMode enumeration. Setting the OverrideModeDefault property to Inherit is equivalent to setting the value to Allow.
.NET Framework
Available since 2.0
Available since 2.0
Show: