Modifier

Partager via


ActivityDesigner.SaveViewState(BinaryWriter) Method

Definition

Stores the view state of the designer into a binary stream.

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)

Parameters

writer
BinaryWriter

The BinaryWriter into which the view state is stored.

Remarks

The view state is the accumulation of the values of designer properties. When the view state is saved to a stream, the designer values and settings can be restored using LoadViewState.

Applies to