←Select platform

Serialize Method

Summary
Serializes the object to an XML document.
Syntax
C#
C++/CLI
Java
Python
public override void Serialize( 
   AnnSerializeOptions options, 
   XmlNode parentNode, 
   XmlDocument document 
) 
@Override public void serialize( 
   AnnSerializeOptions options, 
   Node parentNode, 
   Document document 
) 
 function Leadtools.Annotations.Engine.AnnAudioObject.Serialize(  
   options , 
   parentNode , 
   document  
) 
public:  
   virtual void Serialize( 
      AnnSerializeOptions^ options, 
      XmlNode^ parentNode, 
      XmlDocument^ document 
   ) override 
def Serialize(self,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

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 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.