SaveViewState Method
Collapse the table of content
Expand the table of content

ActivityDesigner.SaveViewState Method (BinaryWriter)


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

Namespace:   System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected virtual void SaveViewState(
	BinaryWriter writer


Type: System.IO.BinaryWriter

The BinaryWriter into which the view state is stored.

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.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft