←Select platform

Serialize Method

Summary

Serializes the object to an XML document.

Syntax
C#
VB
Objective-C
C++
Java
public override void Serialize( 
   AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document 
) 
Public Overrides Sub Serialize( _ 
   ByVal options As AnnSerializeOptions, _ 
   ByVal parentNode As XmlNode, _ 
   ByVal document As XmlDocument _ 
)  
-(void)serializeOptions:(LTAnnSerializeOptions*) options 
                 toNode:(DDXMLElement*) parentNode 
               document:(DDXMLDocument*) document; 
@Override public void serialize( 
   AnnSerializeOptions options, 
   Node parentNode, 
   Document document 
) 
public:  
   virtual void Serialize( 
      AnnSerializeOptions^ options, 
      XmlNode^ parentNode, 
      XmlDocument^ document 
   ) override 

Parameters

options
Serialize options

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

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

Remarks

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

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

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