Click or drag to resize

XmlHelperDeserializeObjectFromXmlStringT Method

Deserializes a new instance of type T from the XML string specified, using the deserializer func.

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 T DeserializeObjectFromXmlString<T>(
	Action<T, XmlReader> deSerializerFunc,
	string xml
)
where T : class, new()

Parameters

deSerializerFunc
Type: SystemActionT, XmlReader
The de-serializer func. This is a lambda which calls the Xml deserializer method which accepts an xmlreader
xml
Type: SystemString
The XML.

Type Parameters

T

Return Value

Type: T
instance of type T which is filled with the data deserialized from the string 'xml'
See Also