T
The type of object to deserialize.
Leadtools.Dicom.AddIn Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Generic DeserializeFile Method
See Also 
Leadtools.Dicom.AddIn Namespace > AddInUtils Class : Generic DeserializeFile Method



filename
The xml file of the object to deserialize.
filename
The xml file of the object to deserialize.
Deserializes an object from the specified xml file.

Syntax

Visual Basic (Declaration) 
Public Shared Function DeserializeFile(Of T)( _
   ByVal filename As String _
) As T
Visual Basic (Usage)Copy Code
Dim filename As String
Dim value As T
 
value = AddInUtils.DeserializeFile(Of T)(filename)
C# 
public static T DeserializeFile<T>( 
   string filename
)
C++/CLI 
public:
static T DeserializeFilegeneric<typename T>
( 
   String^ filename
) 

Parameters

filename
The xml file of the object to deserialize.

Type Parameters

T
The type of object to deserialize.

Return Value

The deserialized object.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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