(Leadtools.Annotations.Core)

Serialize Method (AnnObject)

Show in webframe





Serialize options
The parent node into which the object's data will be saved.
The XML document that will contain the object's data.
Serializes the object to an XML document.
Syntax
public virtual void Serialize( 
   AnnSerializeOptions options,
   XmlNode parentNode,
   XmlDocument document
)
Public Overridable Sub Serialize( _
   ByVal options As AnnSerializeOptions, _
   ByVal parentNode As XmlNode, _
   ByVal document As XmlDocument _
) 
public virtual void Serialize( 
   AnnSerializeOptions options,
   XmlNode parentNode,
   XmlDocument document
)
-(void)serializeOptions:(LTAnnSerializeOptions*) options
                 toNode:(DDXMLElement*) parentNode
               document:(DDXMLDocument*) document;
            
public void serialize(
   AnnSerializeOptions options,
   Node parentNode,
   Document document
)
            
 function Leadtools.Annotations.Core.AnnObject.Serialize( 
   options ,
   parentNode ,
   document 
)

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

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.