CodeDomComponentSerializationService Class

Serializes a set of components into a serialization store.

Namespace: System.ComponentModel.Design.Serialization
Assembly: System.Design (in

public sealed class CodeDomComponentSerializationService : ComponentSerializationService
public final class CodeDomComponentSerializationService extends ComponentSerializationService
public final class CodeDomComponentSerializationService extends ComponentSerializationService
Not applicable.

The CodeDomComponentSerializationService class serializes a set of components or serializable objects into a serialization store. The store can then be deserialized at a later time. The CodeDomComponentSerializationService 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.

The base class, ComponentSerializationService, replaces the IDesignerSerializationService interface from the .NET Framework version 1.0, although the latter is retained for backward compatibility. The CodeDomComponentSerializationService class does not implement the IDesignerSerializationService interface, but if you query for IDesignerSerializationService, the CodeDomDesignerLoader provides a bridge implementation to ensure backward compatibility.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions