![]() |
Property | Description | ||
| Method Name | FromXMLFile | |||
| Argument - lpszFileName | The XML file to be de-serialized. This can be an Xml document or Fast Infoset document and can be a compressed gzip or zlib file. | |||
| Argument - context | The CXmlSerializationContext 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 (CXmlSerializationContext::Default) of the class are thread safe, if the global instance CXmlSerializationContext::Default is modified, then this could potentially cause threading problems. |
|||
| Description | De-Serializes an XML file into the current object. | |||
| Remarks | 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.
See Multi-Language Support and Global Functions for more information. |