ComponentSerializationService::Deserialize Method (SerializationStore^, IContainer^)

 

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

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

public:
virtual ICollection^ Deserialize(
	SerializationStore^ store,
	IContainer^ container
) abstract

Parameters

store
Type: System.ComponentModel.Design.Serialization::SerializationStore^

The SerializationStore to deserialize.

container
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
ArgumentNullException

store or container is null.

InvalidOperationException

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
Show: