共用方式為


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 方法將 物件的內容 HttpStaticObjectsCollection 寫入 物件 BinaryWriter 。 若要擷取序列化 HttpStaticObjectsCollection 物件,請使用 Deserialize 方法。

適用於