ComponentSerializationService::LoadStore Method (Stream^)
.NET Framework (current version)
Loads a SerializationStore from a stream.
Assembly: System (in System.dll)
Parameters
- stream
-
Type:
System.IO::Stream^
The Stream from which the store will be loaded.
Return Value
Type: System.ComponentModel.Design.Serialization::SerializationStore^A new SerializationStore instance.
| 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
Available since 2.0
Show: