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
'Déclaration
Function SaveDocumentWindowPositions ( _
dwReserved As UInteger, _
pStream As IStream _
) As Integer
'Utilisation
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
- dwReserved
Type: System.UInt32
[in] Reserved for future use.
- 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUIShellDocumentWindowMgr::SaveDocumentWindowPositions(
[in] DWORD dwReserved,
[in] IStream * pStream
);
.NET Framework Security
- 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.
See Also
Reference
IVsUIShellDocumentWindowMgr Interface