Archive.archiveEnum

Archives the given value.

Parameters

value ushort

the value to archive

baseType 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