ConfigurationPropertyOptions Enumeration
TOC
Collapse the table of content
Expand the table of content

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 nameDescription
IsAssemblyStringTransformationRequired

Indicates whether the assembly name for the configuration property requires transformation when it is serialized for an earlier version of the .NET Framework.

IsDefaultCollection

Indicates that the property is a default collection.

IsKey

Indicates that the property is a collection key.

IsRequired

Indicates that the property is required.

IsTypeStringTransformationRequired

Indicates whether the type 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.

None

Indicates that no option applies to the property.

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
Available since 2.0
Return to top
Show:
© 2016 Microsoft