IVsSupportItemHandoff Interface
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

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)

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

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.

Show:
© 2016 Microsoft