Serialized objects in view state
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
精彩评论