保存して残った設定ファイルは次のとおりです。(プロパティの保存は正しく機能します。)
<setting name="AlarmList" serializeAs="Xml">
<value>
<ArrayOfAnyType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<anyType xsi:type="ArrayOfAnyType">
<anyType xsi:type="xsd:dateTime">2009-12-04T02:00:00</anyType>
<anyType xsi:type="xsd:string">string1</anyType>
<anyType xsi:type="xsd:string">string2</anyType>
</anyType>
<anyType xsi:type="ArrayOfAnyType">
<anyType xsi:type="xsd:dateTime">2009-12-04T03:00:00</anyType>
<anyType xsi:type="xsd:string">string1</anyType>
<anyType xsi:type="xsd:string">string2</anyType>
</anyType>
</ArrayOfAnyType>
</value>
ArrayListを使用してこれをアプリにロードするにはどうすればよいですか?これが私がそれを保存した方法です。
ArrayList list = new ArrayList();
list.Add(SetAlarm.Value);
list.Add("string1");
list.Add("string2");
Settings.AlarmList2.Add(list);
Settings.Save();
これを使用して設定からデータをロードする方法を知っている人はいますか?