serialize_component_model — Serialize a component model.
serialize_component_model serializes the data of a component model (see fwrite_serialized_item for an introduction of the basic principle of serialization). The same data that is written in a file by write_component_model is converted to a serialized item. The component model is defined by the handle ComponentModelID. The serialized component model is returned by the handle SerializedItemHandle and can be deserialized by deserialize_component_model.
Handle of the component model.
Handle of the serialized item.
If the parameters are valid, the operator serialize_component_model returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
fwrite_serialized_item, send_serialized_item, deserialize_component_model