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)

[GuidAttribute("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")]
[InterfaceTypeAttribute()]
public interface IVsSupportItemHandoff

The IVsSupportItemHandoff type exposes the following members.

  NameDescription
Public methodHandoffItemSupports transferring an item from one project to another.
Top

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft