←Select platform

Serialize Method

Summary

Serializes the ending style to an XML document.

Syntax
C#
VB
C++
public override XmlNode Serialize( 
   AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document, 
   string elementName 
) 
Public Overrides Function Serialize( 
   ByVal options As AnnSerializeOptions, 
   ByVal parentNode As XmlNode, 
   ByVal document As XmlDocument, 
   ByVal elementName As String 
) As XmlNode 
public:  
   virtual XmlNode^ Serialize( 
      AnnSerializeOptions^ options, 
      XmlNode^ parentNode, 
      XmlDocument^ document, 
      String^ elementName 
   ) override 

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 to.

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 Implementing User-Defined Objects With LEADTOOLS Annotations.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly