ReopenDocumentWindows Method
Collapse the table of content
Expand the table of content

IVsUIShellDocumentWindowMgr.ReopenDocumentWindows Method

Reopens all document windows from the window position information in the stream.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int ReopenDocumentWindows(
	IStream pStream


Type: Microsoft.VisualStudio.OLE.Interop.IStream

[in] A pointer to an object of type IStream.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsUIShellDocumentWindowMgr::ReopenDocumentWindows(
   [in] IStream *pStream

© 2015 Microsoft