Click or drag to resize

XMLSerializerSerialize Method

Serializes selected properties of an object to XML.

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

Parameters

obj  Object
The object to serialize.
Fields  Boolean  (Optional)
 

Return Value

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