AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

ObjectNetDataContractSerializer<(Of <(<'T>)>)>..::..SaveToString Method

Serializes the specified object to an XML string using NetDataContractSerializer.

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

Syntax


public static string SaveToString(
	T objectToSerialize
)

Parameters

objectToSerialize
Type: T
The object to serialize.

Return Value

The XML string representation of the object.