Partager via


SimpleEditorView.LoadViewState(IStream) Method

Definition

When implemented in a derived class, loads the view state of the window pane.

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

Parameters

stream
IStream

The IStream from which to load the state of the view.

Returns

When implemented in a derived class, S_OK if the method succeeds, otherwise an error code.

Implements

Remarks

This method as implemented in this class does nothing and returns S_OK.

Applies to