XMLSerializerSerialize Method |
Serializes selected properties of an object to XML.
Namespace: XMLSerializerAssembly: DWSIM.XMLSerializer (in DWSIM.XMLSerializer.dll) Version: 8.8.1.0
Syntax public static List<XElement> Serialize(
Object obj,
bool Fields = false
)
Public Shared Function Serialize (
obj As Object,
Optional Fields As Boolean = false
) As List(Of XElement)
Request Example
View SourceParameters
- obj Object
- The object to serialize.
- Fields Boolean (Optional)
-
Return Value
ListXElementTrue 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