ComponentSerializationService::LoadStore Method (Stream^)

 

Loads a SerializationStore from a stream.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System (in System.dll)

public:
virtual SerializationStore^ LoadStore(
	Stream^ stream
) abstract

Parameters

stream
Type: System.IO::Stream^

The Stream from which the store will be loaded.

Exception Condition
ArgumentNullException

stream is null.

InvalidOperationException

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

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

.NET Framework
Available since 2.0
Return to top
Show: