Bagikan melalui


WindowPane.IVsUIElementPane.SaveUIElementState(IStream) Method

Definition

Stores the state of the pane to the specified stream.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SaveUIElementState(Microsoft::VisualStudio::OLE::Interop::IStream ^ pstream) = Microsoft::VisualStudio::Shell::Interop::IVsUIElementPane::SaveUIElementState;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SaveUIElementState(Microsoft::VisualStudio::OLE::Interop::IStream ^ pstream) = Microsoft::VisualStudio::Shell::Interop::IVsUIElementPane::SaveUIElementState;
int Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SaveUIElementState(Microsoft::VisualStudio::OLE::Interop::IStream const & pstream);
int IVsUIElementPane.SaveUIElementState (Microsoft.VisualStudio.OLE.Interop.IStream pstream);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SaveUIElementState : Microsoft.VisualStudio.OLE.Interop.IStream -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIElementPane.SaveUIElementState : Microsoft.VisualStudio.OLE.Interop.IStream -> int
Function SaveUIElementState (pstream As IStream) As Integer Implements IVsUIElementPane.SaveUIElementState

Parameters

pstream
IStream

The stream to which to save the state.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to