XMLSerializer

Remark
This method are extension method. Referencing the namespace devtm.Serializers for to use.

Serialize an object of T type in XML.

        public static string SerializeXml<T>(this T obj)



Unserialize T

        public static T UnSerializeXml<T>(this string strdata)



Serialize and write in file
        public static bool SaveXml<T>(this T obj, string fichier)



Load a file and unserialize

        public static T LoadXml<T>(this T obj, String fichier)

Last edited Nov 5, 2010 at 12:08 AM by gaelgael5, version 4

Comments

No comments yet.