IVsSupportItemHandoff2::OnBeforeHandoffItem Method (UInt32, IVsProject3^)
Visual Studio 2015
Allows preprocessing of a document to be handed off (primarily saving an untitled document to the directory of the destination project).
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- itemid
-
Type:
System::UInt32
[in] The item identifier in the project where the document will be removed.
- pProjDest
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsProject3^
[in] The project to which the document will be transferred.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshel80.idl:
HRESULT IVsSupportItemHandoff2::OnBeforeHandoffItem( [in] VSITEMID itemid, [in] IVsProject3 *pProjDest );
Show: