XMLXMLSerializeToFile(IFileData, Object, Boolean) Method

Serialize a file with PCBI standard settings.

Definition

Namespace: PCBI.Automation.IO
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool XMLSerializeToFile(
	IFileData xmlFile,
	Object serializableObject,
	bool suppressMsg
)

Parameters

xmlFile  IFileData
The xml file path as IFileData object.
serializableObject  Object
The class to serialize.
suppressMsg  Boolean
Suppress any message/log

Return Value

Boolean
True if it has worked.

See Also