Method | Description | |
---|---|---|
DeSerialize ( |
||
GetSerializer ( |
||
Load ( |
反序列化
|
|
Save ( object obj, string filename ) : bool |
序列化
|
|
Serialize ( object obj ) : string |
xml序列化成字符串
|
Method | Description | |
---|---|---|
XmlSerializeHelper ( ) : System |
public static DeSerialize ( |
||
type | ||
s | string | |
return | object |
public static GetSerializer ( |
||
t | ||
return | XmlSerializer |
public static Load ( |
||
type | 对象类型 | |
filename | string | 文件路径 |
return | object |
public static Save ( object obj, string filename ) : bool | ||
obj | object | 对象 |
filename | string | 文件路径 |
return | bool |
public static Serialize ( object obj ) : string | ||
obj | object | 对象 |
return | string |