Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kSerializer_SetVersion | ( | kSerializer | serializer,
|  | kAssembly | assembly,
|  | kVersion | version
| ) |  |

Sets the version to use when serializing types.

Some serialization formats use a versioning scheme in which a separate version is given for each assembly, while others use a single version that is applied to types from all assemblies. If a single version is used for assemblies, set the assembly argument to null.

Parameters

  serializer | Serializer object.
  assembly | Assembly object (or kNULL).
  version | Desired version.

Returns
  Operation status.