Partager via


IVsWindowPane.LoadViewState(IStream) Method

Definition

Loads a view state.

public:
 int LoadViewState(Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream);
public:
 int LoadViewState(Microsoft::VisualStudio::OLE::Interop::IStream ^ pStream);
int LoadViewState(Microsoft::VisualStudio::OLE::Interop::IStream const & pStream);
public int LoadViewState (Microsoft.VisualStudio.OLE.Interop.IStream pStream);
abstract member LoadViewState : Microsoft.VisualStudio.OLE.Interop.IStream -> int
Public Function LoadViewState (pStream As IStream) As Integer

Parameters

pStream
IStream

[in] Pointer to the IStream interface of the view state to load.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsWindowPane::LoadViewState(  
   [in] IStream *pstream  
);  

Applies to