HttpStaticObjectsCollection.Deserialize(BinaryReader) HttpStaticObjectsCollection.Deserialize(BinaryReader) HttpStaticObjectsCollection.Deserialize(BinaryReader) HttpStaticObjectsCollection.Deserialize(BinaryReader) Method

Definition

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

public:
 static System::Web::HttpStaticObjectsCollection ^ Deserialize(System::IO::BinaryReader ^ reader);
public static System.Web.HttpStaticObjectsCollection Deserialize (System.IO.BinaryReader reader);
static member Deserialize : System.IO.BinaryReader -> System.Web.HttpStaticObjectsCollection
Public Shared Function Deserialize (reader As BinaryReader) As HttpStaticObjectsCollection

Parameters

reader
BinaryReader BinaryReader BinaryReader BinaryReader

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

Returns

Remarks

Important

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Data Validation.

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.

Applies to