OverrideMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the override behavior of a configuration element for configuration elements in child directories.
public enum class OverrideMode
public enum OverrideMode
type OverrideMode =
Public Enum OverrideMode
- Inheritance
Fields
Allow | 1 | The configuration setting of the element or group can be overridden by configuration settings that are in child directories. |
Deny | 2 | The configuration setting of the element or group cannot be overridden by configuration settings that are in child directories. |
Inherit | 0 | 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 |
Remarks
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.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈