T
The type of object to deserialize.
LEADTOOLS Medical (Leadtools.Dicom.AddIn assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DeserializeFile<T> Method
See Also 
Leadtools.Dicom.AddIn Namespace > AddInUtils Class : DeserializeFile<T> 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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