ComponentSerializationService.LoadStore(Stream) 方法

定义

从流中加载 SerializationStore

public:
 abstract System::ComponentModel::Design::Serialization::SerializationStore ^ LoadStore(System::IO::Stream ^ stream);
public abstract System.ComponentModel.Design.Serialization.SerializationStore LoadStore (System.IO.Stream stream);
abstract member LoadStore : System.IO.Stream -> System.ComponentModel.Design.Serialization.SerializationStore
Public MustOverride Function LoadStore (stream As Stream) As SerializationStore

参数

stream
Stream

将要从中加载存储区的 Stream

返回

SerializationStore 实例。

例外

streamnull

stream 不包含由前面某个对 Save(Stream) 的调用保存的数据。

注解

可以通过将返回的存储传递给方法之一 Deserialize 来反序列化对象。

适用于

另请参阅