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)
| 参数 | 类型 | 描述 |
|---|---|---|
| 流 | 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.Font for C++
XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader>) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader> textReader)
| 参数 | 类型 | 描述 |
|---|---|---|
| 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.Font for C++
XmlSerializer::Deserialize(System::SharedPtr<XmlReader>) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader)
| 参数 | 类型 | 描述 |
|---|---|---|
| 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.Font for C++
XmlSerializer::Deserialize(System::SharedPtr<XmlReader>, String) method
将 XML 文档反序列化为对象。
System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader, String encodingStyle)
| 参数 | 类型 | 描述 |
|---|---|---|
| xmlReader | System::SharedPtr<XmlReader> | 用于读取文档的读取器。 |
| encodingStyle | String | 用于序列化对象的样式。 |
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.Font for C++