Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.DataEngine Namespaces
CMS.DataEngine
IDataContractSerializerService(T) Interface
IDataContractSerializerService(T) Methods
Deserialize Method
Serialize Method
IDataContractSerializerService
T
Deserialize Method
Deserializes XML string to object instance.
Namespace:
CMS.DataEngine
Assembly:
CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
Copy
T
Deserialize
(
string
xml
)
Parameters
xml
Type:
System
String
Input XML text for deserialization.
Return Value
Type:
T
Deserialized object instance from
xml
string representation.
Exceptions
Exception
Condition
ArgumentNullException
Thrown when
xml
is
null
.
SerializationException
Thrown when deserialization from input
xml
failed.
See Also
Reference
IDataContractSerializerService
T
Interface
CMS.DataEngine Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com