This topic has not yet been rated - Rate this topic

ConfigurationPropertyOptions Enumeration

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.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)
[FlagsAttribute]
public enum ConfigurationPropertyOptions
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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ