ConfigurationElementCollectionType 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 type of a ConfigurationElementCollectionType object.
public enum class ConfigurationElementCollectionType
public enum ConfigurationElementCollectionType
type ConfigurationElementCollectionType =
Public Enum ConfigurationElementCollectionType
- Inheritance
Fields
AddRemoveClearMap | 1 | The default type of ConfigurationElementCollection. Collections of this type contain elements that can be merged across a hierarchy of configuration files. At any particular level within such a hierarchy, |
AddRemoveClearMapAlternate | 3 | Same as AddRemoveClearMap, except that this type causes the ConfigurationElementCollection object to sort its contents such that inherited elements are listed last. |
BasicMap | 0 | Collections of this type contain elements that apply to the level at which they are specified, and to all child levels. A child level cannot modify the properties specified by a parent element of this type. |
BasicMapAlternate | 2 | Same as BasicMap, except that this type causes the ConfigurationElementCollection object to sort its contents such that inherited elements are listed last. |
Remarks
This enumeration contains all the possible return values for the CollectionType property. It is used by the configuration system during run time to correctly merge configuration settings. It is also used when creating a custom class that extends ConfigurationElementCollection.
By default, the type of a ConfigurationElementCollection object is AddRemoveClearMap
. If a BasicMap
is required, override the CollectionType property when extending ConfigurationElementCollection.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기