Partager via


IVsProject2 Interface

Provides the ability to remove and reopen items in a project, in addition to the methods in the IVsProject interface.

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

Syntax

<GuidAttribute("4AF886C3-7796-4C81-A174-4A87080DEE58")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProject2 _
    Implements IVsProject

Dim instance As IVsProject2
[GuidAttribute("4AF886C3-7796-4C81-A174-4A87080DEE58")]
[InterfaceTypeAttribute()]
public interface IVsProject2 : IVsProject
[GuidAttribute(L"4AF886C3-7796-4C81-A174-4A87080DEE58")]
[InterfaceTypeAttribute()]
public interface class IVsProject2 : IVsProject
public interface IVsProject2 extends IVsProject

Remarks

See illustrations of the implementation and/or calling of this interface in the sample Basic Project, Figures Project, and My C Package.

Notes to Implementers:

Implement IVsProject2 when needing to remove or reopen items or documents in a project using a specific editor, or to transfer an item between projects.

See Also

Reference

IVsProject2 Members

Microsoft.VisualStudio.Shell.Interop Namespace