Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

OverrideMode Enumeration

Specifies the override behavior of a configuration element for configuration elements in child directories.

Namespace:  System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)
public enum OverrideMode
Member nameDescription
AllowThe configuration setting of the element or group can be overridden by configuration settings that are in child directories.
DenyThe configuration setting of the element or group cannot be overridden by configuration settings that are in child directories.
InheritThe 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 location element, use the allowOverride attribute. The OverrideMode property gives you more granular control over the elements inside a location element.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.