Edit

Kongsi melalui


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.

public:
 abstract System::Collections::ICollection ^ Deserialize(System::ComponentModel::Design::Serialization::SerializationStore ^ store);
public abstract System.Collections.ICollection Deserialize (System.ComponentModel.Design.Serialization.SerializationStore store);
abstract member Deserialize : System.ComponentModel.Design.Serialization.SerializationStore -> System.Collections.ICollection
Public MustOverride Function Deserialize (store As SerializationStore) As ICollection

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

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.

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

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