IPersistUIState.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 UI state of a designer to a binary stream.
public:
 void SaveViewState(System::IO::BinaryWriter ^ writer);
	public void SaveViewState(System.IO.BinaryWriter writer);
	abstract member SaveViewState : System.IO.BinaryWriter -> unit
	Public Sub SaveViewState (writer As BinaryWriter)
	Parameters
- writer
 - BinaryWriter
 
The writer to use to store the state.