Table of Contents

Interface IDataTypeTextSerializer

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Defines contract for serialization and deserialization of DataType values to text.

public interface IDataTypeTextSerializer
Extension Methods

Remarks

Used for saving values in BizForm definitions.

Methods

Deserialize(string)

Deserialize text into desired object.

object Deserialize(string text)

Parameters

text string

Text to be deserialized.

Returns

object

Serialize(object)

Serializes value into text.

string Serialize(object value)

Parameters

value object

Value to be serialized.

Returns

string

Exceptions

ArgumentException

Thrown when value is not of expected type.