NET Logging Library
SerializeToXmlString<T> Method



KellermanSoftware.NetLoggingLibrary Namespace > ConfigurationLogic Class : SerializeToXmlString<T> Method
The type to serialize
What to serialize
Serialize a class to an XML String
Syntax
Public Shared Function SerializeToXmlString(Of T As Class)( _
   ByVal value As T _
) As String
Dim value As T
Dim value As String
 
value = ConfigurationLogic.SerializeToXmlString(Of T)(value)
public static string SerializeToXmlString<T>( 
   T value
)
where T: class
public:
static String^ SerializeToXmlStringgeneric<typename T>
( 
   T^ value
) 
where T: ref class

Parameters

value
What to serialize

Type Parameters

T
The type to serialize

Return Value

An XML String
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