Roy
Sat Nov 08 17:07:25 CST 2003
If you are referring to XML serialization, yes, there is a way.
Look at the [XMLIgnore] attribute for making specific fields not
serializable. There are also lots more attributes that tess the XML
serialization object what to do and how to do it.
http://www.c-sharpcenter.com/Tutorial/Serialize.htm
---
Regards,
Roy Osherove
www.iserializable.com
On Thu, 6 Nov 2003 19:27:26 +0100,
<discussion@discussion.microsoft.com> wrote:
>Is there a way to specify what members in a class or struct that I can pass
>to XML methods that are written to file? I want to just pass the object and
>it just picks off the ones i specify without having to have a custom method
>per object layout
>