Serialization of enums

  • Thread starter Thread starter Fernando Callejon
  • Start date Start date
F

Fernando Callejon

Hello, i'm trying to serialize a class with a enum property...it seems to be
serializing ok, but when i try to de-serialize it throw me an error like
"[value] isn't valid for type [enum]". someone have done this before? i'm
sorry by my english
 
Is the enum embedded in the class or outside in the namespace (same file,
not in the class)?

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***********************************************
Think outside the box!
***********************************************
 
i tried the two ways, in namespace and in the class.

Cowboy (Gregory A. Beamer) said:
Is the enum embedded in the class or outside in the namespace (same file,
not in the class)?

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***********************************************
Think outside the box!
***********************************************
Fernando Callejon said:
Hello, i'm trying to serialize a class with a enum property...it seems to
be serializing ok, but when i try to de-serialize it throw me an error
like "[value] isn't valid for type [enum]". someone have done this
before? i'm sorry by my english
 
Back
Top