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 还原设计器值和设置。

适用于