FormatterServices.GetUninitializedObject On Compact FrameWork?

  • Thread starter Thread starter tsteinke
  • Start date Start date
T

tsteinke

Is there an alternative to or does anyone know of a way to implement
FormatterServices.GetUninitializedObject

on the Compact Framework? I am writeing a Formatter and I need it

Thanks

Tom
 
Activator.CreateInstance() calls the constructor of the obect, and
requires the object to have a parameterless constrcutor. So it is not a
solution for a genereic Deserlization class.
 
That is correct, if you use that your serializer would be a little bit less
generic.



There are some pretty good reasons there is no binary serialization in
NETCF, this one is probably the least important.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Back
Top