Click or drag to resize

objectSerializationsaveObjectToXMLT Method (String, T, ILogBuilder)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Saves the object to XML file at specified filepath

Namespace:  imbSCI.Core.files
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static void saveObjectToXML<T>(
	string filepath,
	T data,
	ILogBuilder logger = null
)
Request Example View Source

Parameters

filepath
Type: SystemString
The filepath.
data
Type: T
The data instance to be saved
logger (Optional)
Type: imbSCI.Core.reportingILogBuilder

Type Parameters

T
Exceptions
ExceptionCondition
ArgumentNullExceptiondata
See Also