共用方式為


IVsSupportItemHandoff Interface

Definition

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

public interface class IVsSupportItemHandoff
public interface class IVsSupportItemHandoff
__interface IVsSupportItemHandoff
[System.Runtime.InteropServices.Guid("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSupportItemHandoff
[System.Runtime.InteropServices.Guid("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSupportItemHandoff
[<System.Runtime.InteropServices.Guid("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSupportItemHandoff = interface
[<System.Runtime.InteropServices.Guid("E09C9DCF-D4B7-4D6E-A676-1FC64B4BF6EB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSupportItemHandoff = interface
Public Interface IVsSupportItemHandoff
Attributes

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.

Methods

HandoffItem(UInt32, IVsProject3, String, String, IVsWindowFrame)

Supports transferring an item from one project to another.

Applies to