←Select platform

Serialize Method

Summary

Serializes the object to an XML document.

Syntax
C#
VB
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 _ 
)  
c#[WinRT C# Syntax] 
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 

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

Leadtools.Annotations.Engine Assembly