Click or drag to resize

XmlHelperSerializeObjectToXmlStringT 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.6.0.0 (5.6.19.0117)
Syntax
public static string SerializeObjectToXmlString<T>(
	T toSerialize,
	Action<T, XmlWriter> serializerFunc
)
where T : class

Parameters

toSerialize
Type: T
To serialize.
serializerFunc
Type: SystemActionT, 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