ActivityPreviewDesigner.SaveViewState(BinaryWriter) Method

Definition

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.

Applies to