Click or drag to resize
SerializationExtensionsSerialize Method
Returns object data serialized into the XML element.

Namespace: CMS.DataEngine.Serialization
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public static XmlElement Serialize(
	this BaseInfo infoObject
)

Parameters

infoObject
Type: CMS.DataEngineBaseInfo
Info object to serialize

Return Value

Type: XmlElement

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BaseInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptioninfoObject is null.
See Also