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.1.0.0 (5.1.0)
Syntax public static string SerializeObjectToXmlString<T>(
T toSerialize,
Action<T, XmlWriter> serializerFunc
)
where T : class
Public Shared Function SerializeObjectToXmlString(Of T As Class) (
toSerialize As T,
serializerFunc As Action(Of T, XmlWriter)
) As String
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:
StringSee Also