IVsProject Interface

Manages items, or documents, within a project.

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

public interface IVsProject

The IVsProject type exposes the following members.

Public methodAddItemCreates new items in a project, adds existing files to a project, or causes Add Item wizards to be run.
Public methodGenerateUniqueItemNameGenerates a unique document name for a given item.
Public methodGetItemContextReturns the context of an item.
Public methodGetMkDocumentReturns a document moniker.
Public methodIsDocumentInProjectDetermines whether a document is in the project.
Public methodOpenItemOpens an item in the project.

Notes to Implementers

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

Community Additions