HttpStaticObjectsCollection.Deserialize Method (BinaryReader)

 

Creates an HttpStaticObjectsCollection object from a binary file that was written by using the Serialize method.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

static member Deserialize : 
        reader:BinaryReader -> HttpStaticObjectsCollection

Parameters

reader
Type: System.IO.BinaryReader

The BinaryReader used to read the serialized collection from a stream or encoded string.

Return Value

Type: System.Web.HttpStaticObjectsCollection

An HttpStaticObjectsCollection populated with the contents from a binary file written using the Serialize method.

The Deserialize method is used to read the contents of a HttpStaticObjectsCollection object that is stored in a storage location that is created by the Serialize method. To serialize an HttpStaticObjectsCollection, use the Serialize method.

.NET Framework
Available since 2.0
Return to top
Show: