Serialize Method (original) (raw)

Summary

Serializes the ending style to an XML document.

Syntax

Parameters

options

Serialize options.

parentNode

The parent node into which the style's data will be saved.

document

The XML document that will contain the style's data.

elementName

The style name that will be saved to the XML document.

Return Value

The node that the inherited types should write their properties on.

Remarks

Serialize is called by the framework when the state of this style is to be saved. The style must then use the XML document and parent node to add all the properties that need to be serialized.

Deserialize is called by the framework when the state of this style is to be loaded. The style must then use the XML document and node to read all the properties previously saved.

For more information, refer to Implement User-Defined Objects With LEADTOOLS Annotations.

Leadtools.Annotations.Engine Assembly