CodeDomComponentSerializationService.LoadStore(Stream) Method

Definition

Loads a SerializationStore from the given stream.

C#
public override System.ComponentModel.Design.Serialization.SerializationStore LoadStore(System.IO.Stream stream);

Parameters

stream
Stream

The stream from which to load the SerializationStore.

Returns

The loaded SerializationStore.

Exceptions

stream is null.

stream supports seeking, but its length is 0.

Remarks

You can use the returned store to deserialize objects by passing it to the various Deserialize methods.

Applies to

Product Versions
.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
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10