Saves a view state of a document window.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
is called when the window pane in question is associated with a document view object. is not called for tool windows. If you want to implement persistence for your tool windows, you have to provide the implementation yourself. The Visual Studio environment only persists the tool window layout.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.