VariantBuilder
Object Hierarchy:
Description:
[ Compact ]
public class VariantBuilder
A utility type for constructing container-type Variant instances.
This is an opaque structure and may only be accessed using the following functions.
VariantBuilder is not threadsafe in any way. Do not attempt to access it from more than one thread.
Content:
Creation methods:
Methods:
- public void open (VariantType type)
Opens a subcontainer inside the given this
.
- public void close ()
Closes the subcontainer inside the given
this that was opened by the most recent call to open.
- public void add_value (Variant value)
Adds value
to this.
- public void add (string format_string, ...)
Adds to a VariantBuilder.
- public Variant end ()
Ends the builder process and returns the constructed value.