|Argument - lpData||A pointer to a buffer containing the XML data be de-serialized. The data can be in any valid (and supported) encoding, UTF-8, UNICODE etc. This can be an Xml document or Fast Infoset document and can be a compressed gzip or zlib file|
|Argument - dwLen||The size of the data, this is the number of bytes pointed to by lpData|
|Argument - data||The XML data to be de-serialized (See CBinaryData for more information)|
|Argument - context||
The CSerializationContext object controls the way in which XML is serialized/de-serialized. Its main role is to control the way in which validation is performed and which namespaces are output.
Note: If you are writing a multithreaded app it is highly recommended that you use a different instance of this class on each thread, as access to the static instance is not synchronized. Although read only operations to the static instance (CSerializationContext::Default) of the class are thread safe, if the global instance CSerializationContext::Default is modified, then this could potentially cause threading problems.
|Description||De-Serializes an XML file into the current object.|
This method will only load XML that complies with the XSD schema.
The root element in the XML held within lpszXMLIn must correspond to the class which this method is being called on. So you have a simple schema.
Note - If you are working with a UNICODE build and UTF-8 encoded data.