HttpStaticObjectsCollectionBase.Serialize(BinaryWriter) 方法

定义

当在派生类中重写时,将集合的内容写入 BinaryWriter 对象中。When overridden in a derived class, writes the contents of the collection to a BinaryWriter object.

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

参数

writer
BinaryWriter

用于将序列化集合写入流或编码字符串的对象。The object to use to write the serialized collection to a stream or encoded string.

异常

始终。Always.

适用于