System::Xml::Serialization::XmlSerializer::Deserialize 方法
内容
[
隐藏
]XmlSerializer::Deserialize(System::SharedPtr<IO::Stream>) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<IO::Stream> stream)
| Parameter | Type | 描述 |
|---|---|---|
| 流 | System::SharedPtr<IO::Stream> | 用于读取文档的流。 |
ReturnValue
Object that was previously serialized into the document given.
另见
- Typedef SharedPtr
- Class Object
- Class Stream
- Class XmlSerializer
- Namespace System::Xml::Serialization
- Library Aspose.Page for C++
XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader>) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader> textReader)
| Parameter | Type | 描述 |
|---|---|---|
| textReader | System::SharedPtr<IO::TextReader> | 用于读取文档的读取器。 |
ReturnValue
Object that was previously serialized into the document given.
另见
- Typedef SharedPtr
- Class Object
- Class TextReader
- Class XmlSerializer
- Namespace System::Xml::Serialization
- Library Aspose.Page for C++
XmlSerializer::Deserialize(System::SharedPtr<XmlReader>) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader)
| Parameter | Type | 描述 |
|---|---|---|
| xmlReader | System::SharedPtr<XmlReader> | 用于读取文档的读取器。 |
ReturnValue
Object that was previously serialized into the document given.
另见
- Typedef SharedPtr
- Class Object
- Class XmlReader
- Class XmlSerializer
- Namespace System::Xml::Serialization
- Library Aspose.Page for C++
XmlSerializer::Deserialize(System::SharedPtr<XmlReader>, String) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader, String encodingStyle)
| Parameter | Type | 描述 |
|---|---|---|
| xmlReader | System::SharedPtr<XmlReader> | 用于读取文档的读取器。 |
| encodingStyle | 字符串 | 序列化对象时使用的样式。 |
ReturnValue
Object that was previously serialized into the document given.
另见
- Typedef SharedPtr
- Class Object
- Class XmlReader
- Class String
- Class XmlSerializer
- Namespace System::Xml::Serialization
- Library Aspose.Page for C++