AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ObjectDataContractXMLSerializer<(Of <(<'T>)>)>..::..SaveToFile Method

Saves to file.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static void SaveToFile(
	T obj,
	string path,
	string encoding,
	bool Indented
)

Parameters

obj
Type: T
The object.
path
Type: String
The path.
encoding
Type: String
The encoding.
Indented
Type: Boolean
if set to true [indented].