IVsSupportItemHandoff Interface

Supports transferring an item from one project to another. This interface is implemented by the project that is transferring the item.

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

Syntax

'Declaration
<GuidAttribute("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSupportItemHandoff
'Usage
Dim instance As IVsSupportItemHandoff
[GuidAttribute("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")]
[InterfaceTypeAttribute()]
public interface IVsSupportItemHandoff
[GuidAttribute(L"E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")]
[InterfaceTypeAttribute()]
public interface class IVsSupportItemHandoff
public interface IVsSupportItemHandoff

Remarks

When another project calls IsSpecificDocumentViewOpen to request an item that your project has open, the environment will call Query Interface on your project for IVsHierarchy to obtain a pointer to your IVsSupportItemHandoff implementation. Your IVsSupportItemHandoff implementation should call TransferItem to transfer the item from your project to the project requesting the item.

Notes to Implementers:

Implement this interface to support transferring an item from your project to another project that wants to open the item. Implement this interface on your project object (IVsProject3) where you also implement IVsHierarchy.

See Also

Reference

IVsSupportItemHandoff Members

Microsoft.VisualStudio.Shell.Interop Namespace