XmlArchive.unarchiveBaseClass

Unarchives the base class associated with the given key.

This method is used to indicate that the all following calls to unarchive a value should be part of the base class. This method is usually called within the callback passed to unarchiveObject. The unarchiveObject method can the mark the end of the class.

class XmlArchive(U = char)
void
unarchiveBaseClass
(
string key
)

Parameters

key string

the key associated with the base class.

Examples

auto archive = new XmlArchive!();
archive.beginUnarchiving(data);
archive.unarchiveBaseClass("base");

See Also

unarchiveObject

Meta