Click or drag to resize

XMLSerializerDeserialize Method

Deserializes selected properties of an object from XML.

Namespace: XMLSerializer
Assembly: DWSIM.XMLSerializer (in DWSIM.XMLSerializer.dll) Version: 8.8.1.0
Syntax
public static bool Deserialize(
	Object obj,
	List<XElement> xmlprops,
	bool Fields = false
)
Request Example View Source

Parameters

obj  Object
The object to be updated with properties from the XML elements.
xmlprops  ListXElement
The list of XML elements to deserialize from.
Fields  Boolean  (Optional)
 

Return Value

Boolean
True if successful.
Remarks
Properties of type Boolean, String, Double, Single, Integer, Nullable(Of Double), Nullable(Of Single), Nullable(Of Integer), ArrayList, Font, Color, [Enum] are supported.
See Also