ComponentSerializationService.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)

Source:
ComponentSerializationService.cs
Source:
ComponentSerializationService.cs
Source:
ComponentSerializationService.cs

Deserializes the given store to produce a collection of objects.

C#
public abstract System.Collections.ICollection Deserialize(System.ComponentModel.Design.Serialization.SerializationStore store);

Parameters

store
SerializationStore

The SerializationStore to deserialize.

Returns

A collection of objects created according to the stored state.

Exceptions

store is null.

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

Remarks

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.

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

Deserialize(SerializationStore, IContainer)

Source:
ComponentSerializationService.cs
Source:
ComponentSerializationService.cs
Source:
ComponentSerializationService.cs

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

C#
public abstract System.Collections.ICollection Deserialize(System.ComponentModel.Design.Serialization.SerializationStore store, System.ComponentModel.IContainer container);

Parameters

store
SerializationStore

The SerializationStore to deserialize.

container
IContainer

The IContainer to which IComponent objects will be added.

Returns

A collection of objects created according to the stored state.

Exceptions

store or container is null.

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

Remarks

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.

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1