System.ComponentModel.Design.Serialization.ComponentSerializationService Class

Provides the base class for serializing a set of components or serializable objects into a serialization store.

See Also: ComponentSerializationService Members


public abstract class ComponentSerializationService


The System.ComponentModel.Design.Serialization.ComponentSerializationService serializes a set of components or serializable objects into a serialization store. The store can then be deserialized later. The System.ComponentModel.Design.Serialization.ComponentSerializationService class differs from other serialization schemes in that the serialization format is opaque, and it allows for partial serialization of objects. For example, you can choose to serialize only selected properties for an object.

This class is abstract. Typically, a System.ComponentModel.Design.Serialization.DesignerLoader will provide a concrete implementation of this class and add it as a service to its System.ComponentModel.Design.DesignSurface. This allows objects to be serialized in the format best suited for them.

The System.ComponentModel.Design.Serialization.ComponentSerializationService class replaces the System.ComponentModel.Design.Serialization.IDesignerSerializationService interface from the .NET Framework version 1.0, although the latter is retained for backward compatibility.


Namespace: System.ComponentModel.Design.Serialization
Assembly: System (in System.dll)
Assembly Versions:,