Hi
Based on my understanding, you want to serialize the properties of your
custom control.
Normally, custom control is also a class, so you can just do like normal
serialization. Your custom control should implement the ISerializable
interface.
To serialize to xml or binary, this is determined by the Formatter ,
BinaryFormatter for binary serialization, SoapFormatter for xml
serialization.
For more information about serialization, please refer to Jeffrey Richter's
article:
http://msdn.microsoft.com/msdnmag/issues/02/04/net/ http://msdn.microsoft.com/msdnmag/issues/02/07/net/ http://msdn.microsoft.com/msdnmag/issues/02/09/net/
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.