CodeDomComponentSerializationService::LoadStore Method (Stream^)

 

Loads a SerializationStore from the given stream.

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

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

Parameters

stream
Type: System.IO::Stream^

The stream from which to load the SerializationStore.

Exception Condition
ArgumentNullException

stream is null.

SerializationException

stream supports seeking, but its length is 0.

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

SecurityPermission

for providing serialization services. Associated enumeration: SecurityPermissionFlag::SerializationFormatter.

.NET Framework
Available since 2.0
Return to top
Show: