开发者

Serialized objects in view state

开发者 https://www.devze.com 2023-02-15 21:54 出处:网络
Hi i have been going through the documentation of viewstate. http://msdn.microsoft.com/en-us/library/ms227551(v=VS.85).aspx It was mentioned that object开发者_开发技巧s that can be serialized are stor

Hi i have been going through the documentation of viewstate. http://msdn.microsoft.com/en-us/library/ms227551(v=VS.85).aspx It was mentioned that object开发者_开发技巧s that can be serialized are stored in viewstate. What is the meaning of serializing of objects ??


Serialization is the process of turning an object into a stream of bytes that can be stored somewhere or sent across the wire.

Specifically in .NET, you can make a class serializable by adding the [Serializable] (C#) or <Serializable> (VB) attribute to the class declaration.


Serialization is the process of taking an object in it's current state and turning into a "data" representation, most commonly in binary or xml formats.

For more information check out:

http://en.wikipedia.org/wiki/Serialization

0

精彩评论

暂无评论...
验证码 换一张
取 消