- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
private static void ListXmlSerialize<T>(List<T> UserList, string Obj, string FileName)
{
object obj = new object();
lock (obj)
{
XmlSerializer UserXmlFormat = new XmlSerializer(typeof(List<T>), Obj);
Stream UserFileStream = new FileStream(FileName, FileMode.Create, FileAccess.Write, FileShare.Write);
UserXmlFormat.Serialize(UserFileStream, UserList);
UserFileStream.Close();
}
}
SmackMyBitchUp 31.08.2011 15:38 # 0
огого
absolut 31.08.2011 15:40 # +4
wpfDev 31.08.2011 15:42 # 0
roman-kashitsyn 31.08.2011 15:43 # 0
Lure Of Chaos 31.08.2011 16:52 # 0
roman-kashitsyn 31.08.2011 16:54 # +1
Lure Of Chaos 31.08.2011 16:56 # 0
absolut 31.08.2011 17:02 # 0