ActivityPreviewDesigner.SaveViewState(BinaryWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores the current view state of the ActivityPreviewDesigner to a binary stream.
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)
Parameters
- writer
- BinaryWriter
The BinaryWriter to which the current designer view state is stored.
Exceptions
writer
contains null reference (Nothing
in Visual Basic).
Remarks
SaveViewState saves the currently selected activity designer in the preview strip and, if ShowPreview returns true
, the contents of the preview window.