다음을 통해 공유


DataContractUtils Class

Definition

Helper around serialization/deserialization of objects. This one is a thin wrapper around DataContractUtils template class which is the one doing the heavy lifting.

public static class DataContractUtils
type DataContractUtils = class
Public Class DataContractUtils
Inheritance
DataContractUtils

Methods

Deserialize<T>(String, T)

Deserialize the string to the expected object type.

Serialize<T>(T)

Serializes the supplied object to the string.

Applies to