Sage Modeling and Simulation Library

XmlSerializationContext..::..StoreObject Method

Persists the object 'obj' to an XmlNode, and appends that node under the XmlSerializationContext's CurrentNode node.

Namespace:  Highpoint.Sage.Persistence
Assembly:  Sage4 (in Sage4.dll)

Syntax


public void StoreObject(
	Object key,
	Object obj
)

Parameters

key
Type: Object
In it's ToString() form, this will be the name of the new node.
obj
Type: Object
This is the object that will be serialized to the new node.

Return Value

The XmlNode that was created.