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()
Public Shared Function DeserializeObjectFromXmlString(Of T As {Class, New}) (
deSerializerFunc As Action(Of T, XmlReader),
xml As String
) As T
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:
Tinstance of type T which is filled with the data deserialized from the string 'xml'
See Also