Serialize<T> Method

Summary

Serializes the specified object to an xml file.

Syntax
C#
VB
C++
public static void Serialize<T>( 
   T obj, 
   string filename 
) 
  
Public Shared Sub Serialize(Of T)( _ 
   ByVal obj As T, _ 
   ByVal filename As String _ 
)  
public: 
static void Serializegeneric<typename T> 
(  
   _T^_ obj, 
   String^ filename 
)  

Parameters

obj
The object to serialize.

filename
The xml to store the serialized object.

Type Parameters

T
The type of object to serialize.

Requirements

Target Platforms

Help Version 20.0.2019.11.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly