write_instance Method (p_context, p_depth, p_item, p_owner)
NamespacesSorm.InterfacesNodeSchemawrite_instance(SerializeContext, Int32, Object, MetaObject)

[This is preliminary documentation and is subject to change.]

Serializes an instance into the persistent storage.
Declaration Syntax
C#Visual BasicVisual 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
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

Assembly: sorm.interfaces (Module: sorm.interfaces) Version: