LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly)
LEAD Technologies, Inc

Serialize<T> Method






The type of object to serialize.
The object to serialize.
The xml to store the serialized object.
Serializes the specified object to an xml file.
Syntax
public static void Serialize<T>( 
   T obj,
   string filename
)
'Declaration
 
Public Shared Sub Serialize(Of T)( _
   ByVal obj As T, _
   ByVal filename As String _
) 
'Usage
 
Dim obj As T
Dim filename As String
 
AddInUtils.Serialize(Of T)(obj, filename)
public static void Serialize<T>( 
   T obj,
   string filename
)
 function Leadtools.Dicom.AddIn.AddInUtils.Serialize( 
   obj ,
   filename 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AddInUtils Class
AddInUtils Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.AddIn requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features