XmlArchive.archiveEnum

Archives the given value.

Parameters

value long

the value to archive

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