ComponentSerializationService.Deserialize Method (SerializationStore, IContainer)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Deserializes the given store and populates the given IContainer with deserialized IComponent objects.

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

public abstract ICollection Deserialize(
	SerializationStore store,
	IContainer container


Type: System.ComponentModel.Design.Serialization.SerializationStore

The SerializationStore to deserialize.

Type: System.ComponentModel.IContainer

The IContainer to which IComponent objects will be added.

Return Value

Type: System.Collections.ICollection

A collection of objects created according to the stored state.

Exception Condition

store or container is null.


store does not contain data in a format the serialization container can process.

This method deserializes store to produce a collection of objects contained within it. Objects are deserialized in the same order in which they were serialized.

Created objects that implement IComponent are added to container.

.NET Framework
Available since 2.0
Return to top