共用方式為


WindowPane.IVsWindowPane.SaveViewState(IStream) Method

Definition

Caution

The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane

Saves the loaded view state. Obsolete.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SaveViewState(Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream) = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::SaveViewState;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SaveViewState(Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream) = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::SaveViewState;
int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SaveViewState(Microsoft::VisualStudio::OLE::Interop::IStream const & pStream);
[System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.SaveViewState (Microsoft.VisualStudio.OLE.Interop.IStream pStream);
[<System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
abstract member Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SaveViewState : Microsoft.VisualStudio.OLE.Interop.IStream -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.SaveViewState : Microsoft.VisualStudio.OLE.Interop.IStream -> int
Function SaveViewState (pStream As IStream) As Integer Implements IVsWindowPane.SaveViewState

Parameters

pStream
IStream

The IStream to which to save the view state.

Returns

E_NOTIMPL.

Implements

Attributes

Remarks

The <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.SaveViewState interface on this class is obsolete. Please use <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.SaveViewState instead.

Applies to