摘要
提出了两种VBA中对象序列化方法:基于PropertyBag的对象序列化方法和基于XML的对象序列化方法,前者把对象序列化为二进制数据,后者把对象序列化为XML数据.文中介绍了两种方法的设计和实现过程,并分析了它们的特点,为VBA中对象序列化提供了两种解决方法.
Two object serialization methods in VBA are proposed in this paper.one is PropertyBag - based object serialization which can serialize user - defined object into binary data ; the other is XML - based object serialization which can serialize user - defined object into XML. Design and Implementation of the two methods are discussed, and outstanding characters of them are analysed. They provide two solutions to object serialization in VBA.
出处
《武汉化工学院学报》
2006年第2期57-60,63,共5页
Journal of Wuhan Institute of Chemical Technology