共用方式為


WindowPane.IVsWindowPane.LoadViewState(IStream) Method

Definition

Caution

The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane

Loads the saved view state. Obsolete.

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

Parameters

pStream
IStream

The IStream from which to load the view state.

Returns

E_NOTIMPL.

Implements

Attributes

Remarks

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

Applies to