共用方式為


ActivityDesigner.SaveViewState(BinaryWriter) 方法

定義

將設計工具的檢視狀態儲存到二進位資料流。

protected:
 virtual void SaveViewState(System::IO::BinaryWriter ^ writer);
protected virtual void SaveViewState (System.IO.BinaryWriter writer);
abstract member SaveViewState : System.IO.BinaryWriter -> unit
override this.SaveViewState : System.IO.BinaryWriter -> unit
Protected Overridable Sub SaveViewState (writer As BinaryWriter)

參數

writer
BinaryWriter

要在其中儲存檢視狀態的 BinaryWriter

備註

檢視狀態是設計工具屬性值的累積。 當檢視狀態儲存到資料流中時,就可以使用 LoadViewState 將設計工具的值和設定還原。

適用於