HttpStaticObjectsCollection.Serialize Method (BinaryWriter)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: