CodeDomComponentSerializationService.Deserialize Method

Definition

Deserializes the given store to produce a collection of objects.

Overloads

Deserialize(SerializationStore)

Deserializes the given store to produce a collection of objects.

Deserialize(SerializationStore, IContainer)

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

Deserialize(SerializationStore)

Deserializes the given store to produce a collection of objects.

public:
 override System::Collections::ICollection ^ Deserialize(System::ComponentModel::Design::Serialization::SerializationStore ^ store);
public override System.Collections.ICollection Deserialize (System.ComponentModel.Design.Serialization.SerializationStore store);
override this.Deserialize : System.ComponentModel.Design.Serialization.SerializationStore -> System.Collections.ICollection
Public Overrides Function Deserialize (store As SerializationStore) As ICollection

Parameters

store
SerializationStore

The SerializationStore from which objects will be deserialized.

Returns

A collection of deserialized components.

Exceptions

store is null.

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

See also

Applies to

Deserialize(SerializationStore, IContainer)

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

public:
 override System::Collections::ICollection ^ Deserialize(System::ComponentModel::Design::Serialization::SerializationStore ^ store, System::ComponentModel::IContainer ^ container);
public override System.Collections.ICollection Deserialize (System.ComponentModel.Design.Serialization.SerializationStore store, System.ComponentModel.IContainer container);
override this.Deserialize : System.ComponentModel.Design.Serialization.SerializationStore * System.ComponentModel.IContainer -> System.Collections.ICollection
Public Overrides Function Deserialize (store As SerializationStore, container As IContainer) As ICollection

Parameters

store
SerializationStore

The SerializationStore from which objects will be deserialized.

container
IContainer

A container to which IComponent objects will be added.

Returns

A collection of deserialized components.

Exceptions

store or container is null.

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

Remarks

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

Applies to