Edit

Share via


HttpStaticObjectsCollection.Serialize(BinaryWriter) Method

Definition

Writes the contents of the collection to a BinaryWriter object.

public:
 void Serialize(System::IO::BinaryWriter ^ writer);
public void Serialize (System.IO.BinaryWriter writer);
member this.Serialize : System.IO.BinaryWriter -> unit
Public Sub Serialize (writer As BinaryWriter)

Parameters

writer
BinaryWriter

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

Remarks

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.

Applies to