CodeDomComponentSerializationService.LoadStore(Stream) 方法

定义

从给定流加载 SerializationStore

public:
 override System::ComponentModel::Design::Serialization::SerializationStore ^ LoadStore(System::IO::Stream ^ stream);
public override System.ComponentModel.Design.Serialization.SerializationStore LoadStore (System.IO.Stream stream);
override this.LoadStore : System.IO.Stream -> System.ComponentModel.Design.Serialization.SerializationStore
Public Overrides Function LoadStore (stream As Stream) As SerializationStore

参数

stream
Stream

要从其加载 SerializationStore 的流。

返回

已加载的 SerializationStore

例外

streamnull

stream 支持查找,其长度为 0。

注解

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

适用于