Compartilhar via


SimpleEditorView.SaveViewState(IStream) Method

Definition

Saves the loaded view state.

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

Parameters

stream
IStream

The IStream to which to save the view state.

Returns

When implemented by derived classes, if the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

By default this method returns S_OK.

Applies to