We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

WindowPane.IVsUIElementPane.SaveUIElementState Method

Stores the state of the pane to the specified stream.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

int IVsUIElementPane.SaveUIElementState(
	IStream pstream
)

Parameters

pstream
Type: Microsoft.VisualStudio.OLE.Interop.IStream

The stream to which to save the state.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsUIElementPane.SaveUIElementState(IStream)

Show: