serialization problem# DotNet - 窗口里的风景
k*e
1 楼
it is easy to serialize an instance of object to a file
if the object is serializable. my question is how to
serialize it to an xmlnode? I think it should be ok since
if you serialize it into a file, it is actually an xml file.
but I don't know how to serialize it into an xmlnode directly.
I don't want to write it to a file then read it back as xml.
(sometime you don't have the permission to write file at all).
thanks
if the object is serializable. my question is how to
serialize it to an xmlnode? I think it should be ok since
if you serialize it into a file, it is actually an xml file.
but I don't know how to serialize it into an xmlnode directly.
I don't want to write it to a file then read it back as xml.
(sometime you don't have the permission to write file at all).
thanks