"serge calderara" <se*************@maillefer.net> wrote in
news:10****************************@phx.gbl:
Dear all,
I would like toi understand clearly what does that tag
<Serialiaze> reaaly means and when to use it and how?
I have seen it in many places
thanks for your answer
regards
serge
When something is in a tag like that before a member declaration it is
called an "attibute".
Look in the help for "SerializableAttribute" class.
"Indicates that a class can be serialized.
....
Apply the SerializableAttribute attribute to a type to indicate that
instances of this type can be serialized. The common language runtime
throws SerializationException if any type in the graph of objects being
serialized does not have the SerializableAttribute attribute applied.
Apply the SerializableAttribute attribute even if the class also
implements the ISerializable interface to control the serialization
process."
So also take a look at the ISerializable interface, and in general look
into the topic of serialization.
--
Michael Lang, MCSD
See my .NET open source projects
http://sourceforge.net/projects/colcodegen (simple code generator)
http://sourceforge.net/projects/dbobjecter (database app code generator)
http://sourceforge.net/projects/genadonet ("generic" ADO.NET)