December 2001
Beginner
464 pages
13h 51m
English
NonSerialized
Field
When a type implements the
ISerializable interface (defined in the
System.Runtime.Serialization namespace) or has the
Serializable attribute, all of its fields are
serializable. To prohibit a particular field in a serializable type
from being serializable, mark it with the
NonSerialized attribute. This attribute takes no
arguments and has no properties.