Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SettingsSerializeAsAttribute Constructor (SettingsSerializeAs)

 

Initializes an instance of the SettingsSerializeAsAttribute class.

Namespace:   System.Configuration
Assembly:  System (in System.dll)

public:
SettingsSerializeAsAttribute(
	SettingsSerializeAs serializeAs
)

Parameters

serializeAs
Type: System.Configuration::SettingsSerializeAs

A SettingsSerializeAs enumerated value that specifies the serialization scheme.

If the settings provider or the type of the property to be converted does not support the serialization scheme specified by the serializeAs parameter, the operation may have one of the following results:

  • The settings provider may ignore the attribute and use its default serialization scheme.

  • The serialization process may fail without a response. The application settings property will not be persisted.

  • An exception may be raised during serialization.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft