Click or drag to resize

XmlHelper.SerializeObjectToXmlString<T> Method

Serializes the object to XML string using the func specified.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax
public static string SerializeObjectToXmlString<T>(
	T toSerialize,
	Action<T, XmlWriter> serializerFunc
)
where T : class

Parameters

toSerialize
Type: T
To serialize.
serializerFunc
Type: System.Action<T, XmlWriter>
The serializer func. This is a lambda which calls the Xml serializer method which accepts an XmlWriter

Type Parameters

T

Return Value

Type: String
See Also