XmlArchive.archiveEnum

Archives the given value.

Parameters

value wchar

the value to archive

type string

the base type of the enum

key string

the key associated with the value

id Id

the id associated with the value

Examples

enum Foo : bool
{
    bar
}

auto foo = Foo.bar;
auto archive = new XmlArchive!();
archive.archive(foo, "bool", "foo", 0);

Meta