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