IDesignerSerializationService Interface

IDesignerSerializationService Interface

Provides an interface that can invoke serialization and deserialization.

For a list of all members of this type, see IDesignerSerializationService Members.

[Visual Basic]
Public Interface IDesignerSerializationService
public interface IDesignerSerializationService
public __gc __interface IDesignerSerializationService
public interface IDesignerSerializationService


This service provides methods to convert a collection of objects to a serializable object that represents them, and to convert serialization data to the object or objects that it represents.

All components that support a designer must support serialization of each component's type. This occurs when the designer scans the public properties, methods, and events of each type and represents these within a type descriptor.

This interface uses the technique of scanning members to convert a collection of components into a single object that supports run-time serialization. This does not necessarily provide for the serialization of custom types that belong to the class. Many objects require a custom serializer to have their values serialized at run time. To specify a serializer for a custom type, use a DesignerSerializerAttribute attribute or implement an IDesignerSerializationProvider.


Namespace: System.ComponentModel.Design.Serialization

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

IDesignerSerializationService Members | System.ComponentModel.Design.Serialization Namespace | DesignerSerializerAttribute | IDesignerSerializationProvider

© 2016 Microsoft