편집

다음을 통해 공유


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

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

Returns

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

Remarks

Important

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.

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