IVsUIShellDocumentWindowMgr.SaveDocumentWindowPositions Method

Saves the window positions and guidEditorType/pszPhysicalView for each open document window into a stream.

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

Syntax

‘선언
Function SaveDocumentWindowPositions ( _
    dwReserved As UInteger, _
    pStream As IStream _
) As Integer
‘사용 방법
Dim instance As IVsUIShellDocumentWindowMgr
Dim dwReserved As UInteger
Dim pStream As IStream
Dim returnValue As Integer

returnValue = instance.SaveDocumentWindowPositions(dwReserved, _
    pStream)
int SaveDocumentWindowPositions(
    uint dwReserved,
    IStream pStream
)
int SaveDocumentWindowPositions(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] IStream^ pStream
)
abstract SaveDocumentWindowPositions : 
        dwReserved:uint32 * 
        pStream:IStream -> int 
function SaveDocumentWindowPositions(
    dwReserved : uint, 
    pStream : IStream
) : int

Parameters

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIShellDocumentWindowMgr::SaveDocumentWindowPositions(
   [in] DWORD dwReserved, 
   [in] IStream * pStream
);

.NET Framework Security

See Also

Reference

IVsUIShellDocumentWindowMgr Interface

IVsUIShellDocumentWindowMgr Members

Microsoft.VisualStudio.Shell.Interop Namespace