SettingsSerializeAsAttribute(SettingsSerializeAs) Constructor
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.
Initializes an instance of the SettingsSerializeAsAttribute class.
public:
SettingsSerializeAsAttribute(System::Configuration::SettingsSerializeAs serializeAs);
public SettingsSerializeAsAttribute (System.Configuration.SettingsSerializeAs serializeAs);
new System.Configuration.SettingsSerializeAsAttribute : System.Configuration.SettingsSerializeAs -> System.Configuration.SettingsSerializeAsAttribute
Public Sub New (serializeAs As SettingsSerializeAs)
Parameters
- serializeAs
- SettingsSerializeAs
A SettingsSerializeAs enumerated value that specifies the serialization scheme.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om