[This is preliminary documentation and is subject to change.]
Serializes an instance into the persistent storage.
Declaration Syntax
C# | Visual Basic | Visual C++ |
InsertedItem write_instance( SerializeContext p_context, int p_depth, Object p_item, MetaObject p_owner )
Function write_instance ( _ p_context As SerializeContext, _ p_depth As Integer, _ p_item As Object, _ p_owner As MetaObject _ ) As InsertedItem
InsertedItem^ write_instance( SerializeContext^ p_context, int p_depth, Object^ p_item, MetaObject^ p_owner )
Parameters
- p_context (SerializeContext)
- Context of the current serialization process
- p_depth (Int32)
- Update depth
- p_item (Object)
- Instance to be made persistent
- p_owner (MetaObject)
- Meta object of owner, if any
Return Value
A descriptor for the inserted item