Creates a System.Web.SessionState.SessionStateItemCollection collection from a storage location that is written to using the SessionStateItemCollection.Serialize(System.IO.BinaryWriter) method.
- reader
- The System.IO.BinaryReader used to read the serialized collection from a stream or encoded string.
A System.Web.SessionState.SessionStateItemCollection collection populated with the contents from a storage location that is written to using the SessionStateItemCollection.Serialize(System.IO.BinaryWriter) method.
The SessionStateItemCollection.Deserialize(System.IO.BinaryReader) method can be used to read the contents of a System.Web.SessionState.SessionStateItemCollection collection from the session store.
To write the contents of a System.Web.SessionState.SessionStateItemCollection object to the session store, use the SessionStateItemCollection.Serialize(System.IO.BinaryWriter) method.