mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Delegate | System.AttributeTargets.All, Inherited=false) System.Runtime.InteropServices.ComVisible(true)

Apply the attribute to a type to indicate that instances of this type can be serialized. The common language runtime throws if any type in the graph of objects being serialized does not have the attribute applied.

Apply the attribute even if the class also implements the interface to control the serialization process.

When you apply the attribute to a type, all private and public fields are serialized by default. You can control serialization more granularly by implementing the interface to override the serialization process.

Or you can exclude fields from serialization by applying the attribute to the field. If a field of a serializable type contains a pointer, a handle, or some other data structure that is specific to a particular environment, and cannot be meaningfully reconstituted in a different environment, then you might want to apply the attribute to that field.

For more information about using attributes, see [<topic://cpconExtendingMetadataUsingAttributes>]. For more information about serialization, see .

Indicates that a class can be serialized. This class cannot be inherited.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Initializes a new instance of the class.