Méthode | Description | |
---|---|---|
ObjectToXml ( object obj ) : string |
serialize an object to string.
|
|
ObjectToXml ( object obj, bool toBeIndented ) : string |
serialize an object to string.
|
|
XmlToObject ( |
deserialize string.to an object.
|
public static ObjectToXml ( object obj ) : string | ||
obj | object | /// the object. /// |
Résultat | string |
public static ObjectToXml ( object obj, bool toBeIndented ) : string | ||
obj | object | /// the object. /// |
toBeIndented | bool | /// whether to be indented. /// |
Résultat | string |
public static XmlToObject ( |
||
type | /// the type of the object. /// | |
xml | string | /// the string need to be deserialized. /// |
Résultat | object |