XMLXMLSerializeToString(Object, String, Boolean, 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 XMLSerializeToString(
	Object serializableObject,
	out string serializedXMLString,
	bool suppressUserNotifications,
	bool suppressLog
)

Parameters

serializableObject  Object
The class to serialize.
serializedXMLString  String
out UTF8 xml string
suppressUserNotifications  Boolean
suppress message box if fails
suppressLog  Boolean
suppress error log if fails

Return Value

Boolean
True if it has worked.

See Also