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

 

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

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

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

Parameters

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

The SerializationStore from which objects will be deserialized.

container
Type: System.ComponentModel::IContainer^

A container to which IComponent objects will be added.

Return Value

Type: System.Collections::ICollection^

A collection of deserialized components.

Exception Condition
ArgumentNullException

store or container is null.

InvalidOperationException

store is not a supported type of serialization store. Use a store returned by CreateStore.

Created objects that implement the IComponent interface will be added to the container parameter.

.NET Framework
Available since 2.0
Return to top
Show: