HttpStaticObjectsCollection.Serialize(BinaryWriter) 方法

定义

将集合的内容写入 BinaryWriter 对象中。

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)

参数

writer
BinaryWriter

用于将序列化的集合写入流或编码的字符串的 BinaryWriter

注解

可以使用该方法Serialize将对象BinaryWriter的内容HttpStaticObjectsCollection写入对象。 若要检索序列化 HttpStaticObjectsCollection 的对象,请使用 Deserialize 该方法。

适用于