XmlSerializerDeserializeContentUnsafe(XElement, Object) Method
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.
Namespace: KGySoft.Serialization.XmlAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public static void DeserializeContentUnsafe(
XElement content,
Object obj
)
Public Shared Sub DeserializeContentUnsafe (
content As XElement,
obj As Object
)
public:
static void DeserializeContentUnsafe(
XElement^ content,
Object^ obj
)
static member DeserializeContentUnsafe :
content : XElement *
obj : Object -> unit
Parameters
- content XElement
- XML content of the object.
- obj Object
- The already constructed object whose inner state has to be deserialized.