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.comwrote in message
news:1173458335.254148.207780@.j27g2000cwj.googlegr oups.com...

Quote:

Originally Posted by

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.nospamwrote in message
news:u53KtnmYHHA.4396@.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

All types must be serializable.
>
>
"shapper" <mdmoura@.gmail.comwrote in message
news:1173458335.254148.207780@.j27g2000cwj.googlegr oups.com...

Quote:

Originally Posted by

>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
>>


>
>

0 comments:

Post a Comment