Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 OverrideMode Enumeration

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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)
Visual Basic (Declaration)
Public Enumeration OverrideMode
Visual Basic (Usage)
Dim instance As OverrideMode
C#
public enum OverrideMode
Visual C++
public enum class OverrideMode
JScript
public enum OverrideMode
Member nameDescription
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.
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.

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker