ActivityPreviewDesigner.SaveViewState(BinaryWriter) 方法

定义

ActivityPreviewDesigner 的当前视图状态存储到二进制流中。

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

参数

writer
BinaryWriter

要将当前设计器视图状态存储到的 BinaryWriter

例外

writer 包含空引用(在 Visual Basic 中为 Nothing)。

注解

SaveViewState 将保存预览栏中当前选定的活动设计器;如果 ShowPreview 返回 true,则还将保存预览窗口的内容。

适用于