F
fjvela
Hello,
how can I deserialize a xml object with the compact framework 1?
Thanks!
how can I deserialize a xml object with the compact framework 1?
Thanks!
Right. What I'm saying is that you have to actually *write* the
XmlSerializer class yourself.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com
- Mostrar texto de la cita -
Right. What I'm saying is that you have to actually *write* the
XmlSerializer class yourself.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com
- Mostrar texto de la cita -
[email protected] said:Do you have any example?
Thanks!
Right. What I'm saying is that you have to actually *write* the
XmlSerializer class yourself.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com
yes I know this. I develop this code but it doesn't work becouse
XmlSerializer doesn't exist in compact framewok 1.XmlSerializer xs = new XmlSerializer(typeof(Class1));
MemoryStream memoryStream = new
MemoryStream(Util.StringToUTF8ByteArray(xml));
XmlTextWriter xmlTextWriter = new
XmlTextWriter(memoryStream, Encoding.UTF8);
return (Class1)xs.Deserialize(memoryStream);On 27 jun, 15:29, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
You have to write your own deserializer.
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.comhow can I deserialize a xml object with the compact framework 1?Thanks!- Ocultar texto de la cita -- Mostrar texto de la cita -- Ocultar texto de la cita -
- Mostrar texto de la cita -
This might get you started:http://www.codeproject.com/csharp/SimpleSerializer.asp
--
Simon Harthttp://simonrhart.blogspot.com
[email protected] said:Do you have any example?Thanks!
Right. What I'm saying is that you have to actually *write* the
XmlSerializer class yourself.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com
yes I know this. I develop this code but it doesn't work becouse
XmlSerializer doesn't exist in compact framewok 1.
XmlSerializer xs = new XmlSerializer(typeof(Class1));
MemoryStream memoryStream = new
MemoryStream(Util.StringToUTF8ByteArray(xml));
XmlTextWriter xmlTextWriter = new
XmlTextWriter(memoryStream, Encoding.UTF8);
return (Class1)xs.Deserialize(memoryStream);
On 27 jun, 15:29, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
You have to write your own deserializer.
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded Worldwww.OpenNETCF.com
Hello,
how can I deserialize a xml object with the compact framework 1?
Thanks!- Ocultar texto de la cita -
- Mostrar texto de la cita -- Ocultar texto de la cita -
- Mostrar texto de la cita -- Ocultar texto de la cita -
- Mostrar texto de la cita -