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.

См. также

XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader>) method

Десериализует XML-документ в объект.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader> textReader)
ПараметрТипОписание
textReaderSystem::SharedPtr<IO::TextReader>Читатель для чтения документа.

ReturnValue

Object that was previously serialized into the document given.

См. также

XmlSerializer::Deserialize(System::SharedPtr<XmlReader>) method

Десериализует XML-документ в объект.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader)
ПараметрТипОписание
xmlReaderSystem::SharedPtr<XmlReader>Читатель для чтения документа.

ReturnValue

Object that was previously serialized into the document given.

См. также

XmlSerializer::Deserialize(System::SharedPtr<XmlReader>, String) method

Десериализует XML-документ в объект.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader, String encodingStyle)
ПараметрТипОписание
xmlReaderSystem::SharedPtr<XmlReader>Читатель для чтения документа.
encodingStyleStringСтиль, используемый для сериализации объекта.

ReturnValue

Object that was previously serialized into the document given.

См. также