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)

public interface IVsSupportItemHandoff

The IVsSupportItemHandoff type exposes the following members.

Public methodHandoffItemSupports transferring an item from one project to another.

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
© 2015 Microsoft