IVsSupportItemHandoff2.OnBeforeHandoffItem Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnBeforeHandoffItem ( _
itemid As UInteger, _
pProjDest As IVsProject3 _
) As Integer
int OnBeforeHandoffItem(
uint itemid,
IVsProject3 pProjDest
)
int OnBeforeHandoffItem(
[InAttribute] unsigned int itemid,
[InAttribute] IVsProject3^ pProjDest
)
abstract OnBeforeHandoffItem :
itemid:uint32 *
pProjDest:IVsProject3 -> int
function OnBeforeHandoffItem(
itemid : uint,
pProjDest : IVsProject3
) : int
Parameters
- itemid
Type: System.UInt32
[in] itemid in project where document will be removed
- pProjDest
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject3
[in] project to which document will be transferred
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 vsshel80.idl:
HRESULT IVsSupportItemHandoff2::OnBeforeHandoffItem(
[in] VSITEMID itemid,
[in] IVsProject3 *pProjDest
);
.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.