Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS 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: 12.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) 2019 Kentico Software
Send comments on this topic to
support@kentico.com