HttpStaticObjectsCollection.Serialize Method (BinaryWriter)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Writes the contents of the collection to a BinaryWriter object.

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

public void Serialize(
	BinaryWriter writer


Type: System.IO.BinaryWriter

The BinaryWriter used to write the serialized collection to a stream or encoded string.

You can use the Serialize method to write the contents of a HttpStaticObjectsCollection object to a BinaryWriter object. To retrieve a serialized HttpStaticObjectsCollection object, use the Deserialize method.

.NET Framework
Available since 2.0
Return to top