'Declaration
Public Overloads Function DeserializeSnippet( _ ByVal xmlReader As System.Xml.XmlReader, _ ByVal targetObjectType As System.Type, _ Optional ByVal settings As LxReaderSettings _ ) As System.Object
public System.object DeserializeSnippet( System.Xml.XmlReader xmlReader, System.Type targetObjectType, LxReaderSettings settings )
Parameters
- xmlReader
- The System.Xml.XmlReader to read the XML data from
- targetObjectType
- The data read from xmlReader will be de-serialized into an object of this type. If it represents a xs:complexType and the XML data contains an xsi:type attribute then the appropriate class will be created to de-serialize the data into. If the type represents an xs:element and the XML data contains an xsi:type attribute then the appropriate class will be created to de-serialize the data into.
- settings
- Settings to control how the data is de-serialized
Return Value
The de-serialized object, will be of type targetObjectType or derived from it.