←Select platform

Serialize Method

Summary

Serializes the object to an XML document.

Syntax

C#
VB
Java
WinRT C#
C++
public override void Serialize( 
   AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document 
) 
Public Overrides Sub Serialize( _ 
   ByVal options As Leadtools.Annotations.Core.AnnSerializeOptions, _ 
   ByVal parentNode As XmlNode, _ 
   ByVal document As XmlDocument _ 
)  
public override void Serialize(  
   Leadtools.Annotations.Core.AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document 
) 
@Override public void serialize(AnnSerializeOptions options, Node parentNode, Document document) 
             
 function Leadtools.Annotations.Core.AnnCurveObject.Serialize(  
   options , 
   parentNode , 
   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

Note:The Serialize and Deserialize methods have different signatures for WinRT and WinRTPhone. Refer to the following:

WinRT

public override void Serialize(AnnSerializeOptions options, IXmlNode parentNode, XmlDocument document) 
public override void Deserialize(AnnDeserializeOptions options, XmlNode element, XmlDocument document) 

WinRTPhone

public override void Serialize(AnnSerializeOptions options, XNode parentNode, XDocument document) 
public override void Deserialize(AnnDeserializeOptions options, XNode element, XDocument document) 

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly