to_variant
Description:
Serializes this to a Variant that can be parsed again through from_variant.
Note that any Toc (s) that might have been discovered will not be serialized for now.
Parameters:
this | |
flags |
A combination of DiscovererSerializeFlags to specify what needs to be serialized. |
Returns:
A newly-allocated Variant representing this. |