XMLSerializerDeserialize Method |
Deserializes selected properties of an object from XML.
Namespace: XMLSerializerAssembly: DWSIM.XMLSerializer (in DWSIM.XMLSerializer.dll) Version: 8.8.1.0
Syntax public static bool Deserialize(
Object obj,
List<XElement> xmlprops,
bool Fields = false
)
Public Shared Function Deserialize (
obj As Object,
xmlprops As List(Of XElement),
Optional Fields As Boolean = false
) As Boolean
Request Example
View SourceParameters
- 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
BooleanTrue 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