Deserialize()

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

Deserializes XML document into object.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<IO::Stream> stream)

Arguments

ParameterTypeDescription
streamSystem::SharedPtr<IO::Stream>Stream to read document from.

Return Value

Object that was previously serialized into the document given.

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

Deserializes XML document into object.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<IO::TextReader> textReader)

Arguments

ParameterTypeDescription
textReaderSystem::SharedPtr<IO::TextReader>Reader to read document from.

Return Value

Object that was previously serialized into the document given.

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

Deserializes XML document into object.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader)

Arguments

ParameterTypeDescription
xmlReaderSystem::SharedPtr<XmlReader>Reader to read document from.

Return Value

Object that was previously serialized into the document given.

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

Deserializes XML document into object.

System::SharedPtr<Object> System::Xml::Serialization::XmlSerializer::Deserialize(System::SharedPtr<XmlReader> xmlReader, String encodingStyle)

Arguments

ParameterTypeDescription
xmlReaderSystem::SharedPtr<XmlReader>Reader to read document from.
encodingStyleStringStyle used to serialize object.

Return Value

Object that was previously serialized into the document given.

See Also