OverrideMode Enumeration
Specifies the override behavior of a configuration element for configuration elements in child directories.
Assembly: System.Configuration (in System.Configuration.dll)
| Member name | Description | |
|---|---|---|
| Allow | The configuration setting of the element or group can be overridden by configuration settings that are in child directories. | |
| Deny | The configuration setting of the element or group cannot be overridden by configuration settings that are in child directories. | |
| Inherit | The configuration setting of the element or group will be overridden by configuration settings that are in child directories if explicitly allowed by a parent element of the current configuration element or group. Permission to override is specified by using the OverrideMode attribute. |
Use the OverrideMode enumeration values to set the OverrideMode property of the SectionInformation class. You set this property in order to programmatically specify override behavior of a configuration element or group. To declaratively set the override behavior for all configuration elements inside a element, use the allowOverride attribute. The OverrideMode property gives you more granular control over the elements inside a location element.
Available since 2.0