CodeDomComponentSerializationService.LoadStore(Stream) Method

Definition

Loads a SerializationStore from the given stream.

public:
 override System::ComponentModel::Design::Serialization::SerializationStore ^ LoadStore(System::IO::Stream ^ stream);
public override System.ComponentModel.Design.Serialization.SerializationStore LoadStore (System.IO.Stream stream);
override this.LoadStore : System.IO.Stream -> System.ComponentModel.Design.Serialization.SerializationStore
Public Overrides Function LoadStore (stream As Stream) As SerializationStore

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