This documentation is archived and is not being maintained.
ConfigurationPropertyOptions Enumeration
Visual Studio 2010
Specifies the options to apply to a property.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.ConfigurationAssembly: System.Configuration (in System.Configuration.dll)
| Member name | Description | |
|---|---|---|
| None | Indicates that no option applies to the property. | |
| IsDefaultCollection | Indicates that the property is a default collection. | |
| IsRequired | Indicates that the property is required. | |
| IsKey | Indicates that the property is a collection key. | |
| IsTypeStringTransformationRequired | Indicates whether the type name for the configuration property requires transformation when it is serialized for an earlier version of the .NET Framework. | |
| IsAssemblyStringTransformationRequired | Indicates whether the assembly name for the configuration property requires transformation when it is serialized for an earlier version of the .NET Framework. | |
| IsVersionCheckRequired | Indicates whether the configuration property's parent configuration section should be queried at serialization time to determine whether the configuration property should be serialized into XML. |
During the creation of a configuration element, you use the ConfigurationPropertyOptions enumerator to programmatically specify the options to apply. These options indicate whether a property is required, is a collection key property, etc. If a value is not specified, the value is assumed to be None.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: