Share via


SimpleEditorView.LoadViewState Method

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function LoadViewState ( _
    stream As IStream _
) As Integer
public virtual int LoadViewState(
    IStream stream
)
public:
virtual int LoadViewState(
    IStream^ stream
)
abstract LoadViewState : 
        stream:IStream -> int  
override LoadViewState : 
        stream:IStream -> int
public function LoadViewState(
    stream : IStream
) : int

Parameters

Return Value

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

Implements

IVsWindowPane.LoadViewState(IStream)

Remarks

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

.NET Framework Security

See Also

Reference

SimpleEditorView Class

Microsoft.VisualStudio.Package Namespace