SimpleEditorView::SaveViewState Method (IStream^)

 

Saves the loaded view state.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int SaveViewState(
	IStream^ stream
)

Parameters

stream
Type: Microsoft.VisualStudio.OLE.Interop::IStream^

The IStream to which to save the view state.

Return Value

Type: System::Int32

When implemented by derived classes, if the method succeeds, it returns S_OK. If it fails, it returns an error code.

By default this method returns S_OK.

Return to top
Show: