NET Logging Library
DeserializeFromXml<T> Method



KellermanSoftware.NetLoggingLibrary Namespace > ConfigurationLogic Class : DeserializeFromXml<T> Method
Deserialize an XML File into an object
Syntax
Public Shared Function DeserializeFromXml(Of T As Class)( _
   ByVal filePath As String _
) As T
Dim filePath As String
Dim value As T
 
value = ConfigurationLogic.DeserializeFromXml(Of T)(filePath)
public static T DeserializeFromXml<T>( 
   string filePath
)
where T: class
public:
static T^ DeserializeFromXmlgeneric<typename T>
( 
   String^ filePath
) 
where T: ref class

Parameters

filePath

Type Parameters

T
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

ConfigurationLogic Class
ConfigurationLogic Members