使用为类定义的可序列化属性

编程入门 行业动态 更新时间:2024-10-10 13:19:21
本文介绍了使用为类定义的可序列化属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

任何人都可以告诉我,将类定义为可序列化有什么用. 类可序列化时的行为 问候 Chaithanya

Hi, Can any one Please tell me what is the use of defining a class as serializable. How the class behaves when it is serializable Regards Chaithanya

推荐答案

您需要获取一本书/教程,或者只是应该使用Google搜索. 阅读有关什么是序列化?"的内容 从这里开始:序列化简介 [ ^ ] 关于您要求的属性,在这里: SerializableAttribute [ ^ ] 所有属性的作用是将该类标记为可序列化. You need to get a book/tutorial or simply should have Googled. Read about "What is Serialization?" Start from here: Introduction to serialization[^] About the attribute you asked, here: SerializableAttribute[^] All attribute does is mark the class as serializable.

更多推荐

使用为类定义的可序列化属性

本文发布于:2023-11-11 08:49:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1577939.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:属性   定义   序列化

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!