Monday, March 26, 2012

Serializable

Hello,
I have a class with various properties: strings, integers, controls,
etc.
I made this class serializable using:
[Serializable]
public class Employee
...
My question is:
Can I do this when I have properties of type control?
What data types can my class properties have?
Thanks,
MiguelAll types must be serializable.
"shapper" <mdmoura@.gmail.com> wrote in message
news:1173458335.254148.207780@.j27g2000cwj.googlegroups.com...
> Hello,
> I have a class with various properties: strings, integers, controls,
> etc.
> I made this class serializable using:
> [Serializable]
> public class Employee
> ...
> My question is:
> Can I do this when I have properties of type control?
> What data types can my class properties have?
> Thanks,
> Miguel
>
Input & Output types that is, not types used exclusively for internal class
processing.
"Scott M." <s-mar@.nospam.nospam> wrote in message
news:u53KtnmYHHA.4396@.TK2MSFTNGP06.phx.gbl...
> All types must be serializable.
>
> "shapper" <mdmoura@.gmail.com> wrote in message
> news:1173458335.254148.207780@.j27g2000cwj.googlegroups.com...
>

0 comments:

Post a Comment