Kentico 10 API Reference
Kentico 10 API Reference
Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine.Serialization
SerializationExtensions Class
SerializationExtensions Methods
ContainsField Method
Deserialize Method
SelectField Method
Serialize Method
SerializationExtensions
Serialize Method
Returns object data serialized into the XML element.
Namespace:
CMS.DataEngine.Serialization
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
Copy
public
static
XmlElement
Serialize
(
this
BaseInfo
infoObject
)
Parameters
infoObject
Type:
CMS.DataEngine
BaseInfo
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
Exception
Condition
ArgumentNullException
infoObject
is null.
See Also
Reference
SerializationExtensions Class
CMS.DataEngine.Serialization Namespace
Copyright (c) 2016 Kentico Software
Send comments on this topic to
support@kentico.com