SerializationHelperSerialize Method |
DataContractSerializer序列化一个对象
Namespace: Slickflow.Engine.UtilityAssembly: Slickflow.Engine (in Slickflow.Engine.dll) Version: 1.5.8.0 (1.5.8.0)
Syntaxpublic static string Serialize(
Type type,
Object obj,
string rootName,
string nameSpace
)
Parameters
- type
- Type: SystemType
对象类型 - obj
- Type: SystemObject
实例对象 - rootName
- Type: SystemString
- nameSpace
- Type: SystemString
Return Value
Type:
String序列化后的文本
See Also