Bewerken

Delen via


ComponentSerializationService.LoadStore(Stream) Method

Definition

Loads a SerializationStore from a stream.

public:
 abstract System::ComponentModel::Design::Serialization::SerializationStore ^ LoadStore(System::IO::Stream ^ stream);
public abstract System.ComponentModel.Design.Serialization.SerializationStore LoadStore (System.IO.Stream stream);
abstract member LoadStore : System.IO.Stream -> System.ComponentModel.Design.Serialization.SerializationStore
Public MustOverride Function LoadStore (stream As Stream) As SerializationStore

Parameters

stream
Stream

The Stream from which the store will be loaded.

Returns

A new SerializationStore instance.

Exceptions

stream is null.

stream does not contain data saved by a previous call to Save(Stream).

Remarks

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

Applies to

See also