Writes the contents of the collection to a System.IO.BinaryWriter object.
- writer
- The System.IO.BinaryWriter used to write the serialized collection to a stream or encoded string.
You can use the HttpStaticObjectsCollection.Serialize(System.IO.BinaryWriter) method to write the contents of a System.Web.HttpStaticObjectsCollection object to a System.IO.BinaryWriter object. To retrieve a serialized System.Web.HttpStaticObjectsCollection object, use the HttpStaticObjectsCollection.Deserialize(System.IO.BinaryReader) method.