XmlSerializerDeserializeContentUnsafe Method

Overload List

DeserializeContentUnsafe(XElement, Object) Restores the inner state of an already created object passed in the obj parameter based on a saved XML. This method works in unsafe mode. Use it only if the XML content is from a safe source.
See the security notes at the Remarks section of the XmlSerializer class for details.
DeserializeContentUnsafe(XmlReader, Object) Restores the inner state of an already created object passed in the obj parameter based on a saved XML. This method works in unsafe mode. Use it only if the XML content is from a safe source.
See the security notes at the Remarks section of the XmlSerializer class for details.

See Also