D
D
Dmitry Korolev2019-02-21 06:39:26
.NET
Dmitry Korolev, 2019-02-21 06:39:26

Object instance not saved in user.settings?

Created a class derived from ApplicationSettingsBase using LocalFileSettingsProvider
all fields in it user parameters
one of the properties is an object
that I prepared for serialization
during saving and loading the object does not pass the
object this [Serializabled] class with a public constructor without parameters with
a couple of string variables
and a sheet [Serializabled] class with a public constructor without parameters
How can objects be stored through this mechanism?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Korolev, 2019-02-21
@adressmoeistranici

implemented the IXmlSerializable class and it began to be written / read.
What other ways to solve this situation are there?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question